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 client
clientId: "SenderClientID"
clientSecret: "SenderSecret"
# OAuth-credentials for a subscriber
subscriberConfig:
clientId: "SubscriberClientID"
clientSecret: "SubscriberSecret"
# Path that references the private decryption key file
privateDecryptionKeyPath: "path/to/decrpytion_key.json"
# Path that references the signing key file that signed SET-Events
privateSigningKeyPath: "path/to/signing_key.json"
# Name of the used environment (from environments config below).
# In this case the options are prod | dev
activeEnvironment: dev
# Configured environments that can be added in the form:
#
# name: -- identifier that can be referenced in 'activeEnvironment' to
# 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"

Martin Vogel
committed
allowInsecurePublicKey: false
dev:
authBaseUrl: "https://auth-testing.fit-connect.fitko.dev"
submissionBaseUrl: "https://submission-api-testing.fit-connect.fitko.dev"

Martin Vogel
committed
allowInsecurePublicKey: true
#####################################################################
# 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
# requestTimeoutInSeconds: 30
#####################################################################
# PREDEFINED SETTINGS #
# #
# YOU SHOULD ONLY CHANGE THESE SETTINGS IF YOU ARE FAMILIAR #
# WITH THE FIT-Connect INFRASTRUCTURE #
#####################################################################
### REST Endpoints for FIT-Connect resources
resourcePaths:
authTokenPath: "/token"
destinationPath: "/v1/destinations/{destinationId}"
destinationKeyPath: "/v1/destinations/{destinationId}/keys/{kid}"
eventLogPath: "/v1/cases/{caseId}/events"
submissionPath: "/v1/submissions/{submissionId}"
submissionsPath: "/v1/submissions"
submissionAttachmentPath: "/v1/submissions/{submissionId}/attachments/{attachmentId}"