Managing application settings
Another part of the infrastructure of an application is the application configuration. In this section, a number of approaches for storing and loading the application configuration for an Azure App Service are discussed. They include the following:
- Storing the configuration in the app settings
- Using a combination of a managed identity and key vault
- Using the Azure App Configuration service
The disadvantage of the first approach is that the app settings can be read by any user who has administrative (read) access to the app service that is configured. The next two approaches do not have this disadvantage.
Azure App Service settings from an ARM template
The first way to configure application settings as code is by specifying app settings as a resource in an ARM template. This should be specified as a nested resource. This can be done as shown in the following screenshot:
{ Â Â Â Â "name": "[concat...