Skip to content
Snippets Groups Projects
config.yml 2.67 KiB
Newer Older
#####################################################################
# MANDATORY USER SETTINGS                                           #
#                                                                   #
# PLEASE FILL OUT PLACEHOLDERS !                                     #
#####################################################################
# To create credentials for sender and subscriber please have a look at:
#
#  Account registration: https://docs.fitko.de/fit-connect/docs/getting-started/get-started
#  Creating a subscriber: https://docs.fitko.de/fit-connect/docs/receiving/destination
#  Self-Service-Portal (Test-Env): https://portal.auth-testing.fit-connect.fitko.dev/login
# OAuth-credentials for a sender
  clientId: "SenderClientID"
  clientSecret: "SenderSecret"
# OAuth-credentials for a subscriber
  clientId: "SubscriberClientID"
  clientSecret: "SubscriberSecret"
  # Path that references the private decryption key file
  privateDecryptionKeyPath: "path/to/decryption_key.json"
  # Path that references the signing key file that signs SET-Events

# Name of the used environment (from environments config below).
# In this case the options are prod | testing
activeEnvironment: testing

# Configured environments that can be added in the form:
#
# name: -- identifier that can be referenced in 'activeEnvironment'
#    authBaseUrl: "URL" -- base URL for OAuth requests
#    submissionBaseUrl: "URL" -- base URL for submission/destination requests
#    allowInsecurePublicKey: true | false -- allow public keys that failed a validation for e.g. testing purposes
#
# also see: https://docs.fitko.de/fit-connect/docs/apis/submission-api

environments:
  prod:
    authBaseUrl: "https://auth-prod.fit-connect.fitko.dev"
    submissionBaseUrl: "https://submission-api-prod.fit-connect.fitko.dev"
    authBaseUrl: "https://auth-testing.fit-connect.fitko.dev"
    submissionBaseUrl: "https://submission-api-testing.fit-connect.fitko.dev"
#####################################################################
# OPTIONAL SETTINGS                                                 #
#                                                                   #
# Can be used if needed by uncommenting the shown properties        #
#####################################################################

# Proxy config for http api calls - routes all calls to FIT-Connect
# REST-endpoints through the proxy if needed in your current infrastructure

# httpProxyHost: "https//:proxy.your-service.domain"
# httpProxyPort: 8080