Skip to main content

Starter Kit Passport Broker Configuration

The Starter Kit Passport service can be configured with modifiable properties. All property configuration is done via a YAML config file that is supplied to the program at runtime via a -c ${CONFIG_FILE} option. This section outlines the structure of the YAML config.

The config file MUST start with a single root object named passport. All sub-properties are nested under passport.

Configurable passport properties

AttributeDescriptionLinks
serverPropsModifies the behavior of high-level server application properties, such as listening port(s), logging, and CORS headers.See serverProps for more info.
serviceInfoDisplay custom information about the deployed web service via the /service-info endpointSee serviceInfo for more info on configuring a custom Service Info response. See Passport Service Info Defaults for the default service info values for Starter Kit Passport deployments.

Passport Service Info Defaults

The following table lists the default attribute values returned over /service-info for Starter Kit Passport services.

AttributeDefault Value
idorg.ga4gh.starterkit.passport.broker
nameGA4GH Starter Kit Passport Broker Service
descriptionStarter Kit implementation of a Passport Broker service, outlined in the GA4GH Passport specification. Manages researcher permissions to data and compute, and enables this information to be minted as JWTs and passed to downstream clearinghouses.
contactUrlmailto:info@ga4gh.org
documentationUrlhttps://github.com/ga4gh/ga4gh-starter-kit-passport-broker
createdAt2022-04-28T09:00:00Z
updatedAt2022-04-28T09:00:00Z
environmenttest
version0.0.2
type.grouporg.ga4gh
type.artifactpassport-broker
type.version1.0.0
organization.nameGlobal Alliance for Genomics and Health
organization.urlhttps://ga4gh.org

Example Starter Kit Passport Config

The following snippet displays an example complete YAML configuration for a deployment of the Starter Kit Passport service.

passportBrokerConfig:
serverProps:
scheme: http
publicApiPort: 7000
adminApiPort: 7001
serviceInfo:
id: org.ga4gh.starterkit.passport.broker.custom.test
name: Passport Broker Custom Config Test Deployment
description: Passport Broker test deployment using custom configurations
contactUrl: mailto:test@ga4gh.org
organization:
name: GA4GH
url: https://ga4gh.org