Files
HealthAppRepositoryB/Reference/ArchitectureA/deploy/api-gateway.env.example
T

34 lines
1.7 KiB
Bash

ASPNETCORE_ENVIRONMENT=Production
Services__PatientProfile__BaseUrl=https://patient-profile.example.test:5081/
ASPNETCORE_URLS=https://0.0.0.0:5443
Kestrel__Certificates__Default__Path=/etc/healthapp/gateway.pfx
Kestrel__Certificates__Default__Password=REPLACE_ME
Services__Observation__BaseUrl=https://observation.example.test:5082/
Services__Insights__BaseUrl=https://insights.example.test:5083/
Authentication__KeyDirectory=/var/lib/healthapp-api-gateway/keys
Authentication__TokenLifetimeMinutes=30
# Account identifiers support ASCII letters, digits, hyphen and underscore.
Authentication__Accounts__0__AccountId=example-patient
Authentication__Accounts__0__Role=Patient
Authentication__Accounts__0__PasswordHash=REPLACE_WITH_ASPNET_CORE_PASSWORD_HASH
# Use distinct randomly generated credentials of at least 32 characters.
Services__PatientProfile__Key=REPLACE_ME
Services__Observation__Key=REPLACE_ME
Services__Insights__Key=REPLACE_ME
InternalAccess__Observation__Key=REPLACE_ME
InternalAccess__Insights__Key=REPLACE_ME
# Pre-created professional credentials and read-only patient assignments.
Authentication__Accounts__1__AccountId=example_professional
Authentication__Accounts__1__Role=HealthcareProfessional
Authentication__Accounts__1__PasswordHash=REPLACE_WITH_ASPNET_CORE_PASSWORD_HASH
# Replace the synthetic identifier below with a created patient's identifier.
# Restart the gateway after changing assignments. Omit assignments for an empty list.
Access__ProfessionalAssignments__example_professional__0=00000000-0000-0000-0000-000000000001
Services__HealthOverview__BaseUrl=https://health-overview.example.test:5084/
Services__HealthOverview__Key=REPLACE_ME
InternalAccess__HealthOverview__Key=REPLACE_ME