-
Notifications
You must be signed in to change notification settings - Fork 1
Configuration
Robert Brands edited this page May 26, 2020
·
10 revisions
The settings for the application are stored as usual in appsettings.json. To avoid storing secrets, keys or other sensitive information in the settings file see article https://docs.microsoft.com/en-us/aspnet/core/security/app-secrets for a broader approach. For this web app a more easy approach is used: Sensitive information will be left empty or marked with a comment in the application settings file, and it is expected to set the config values via environment. These are the values to be set:
- AzureAd:Domain
- AzureAd:TenantId
- AzureAd:ClientId
- ASPNETCORE_ENVIRONMENT - Development/Staging depending on slot. This setting should be sticked to the corresponding slot. For environments used see https://docs.microsoft.com/en-us/aspnet/core/fundamentals/environments