Flexible Configurations
.NET offers flexible configurations using a provider-based model to read configurations from different sources. In the last chapter, we configured environment variables with Azure Container Apps to override the JSON file configuration.
In this chapter, you will learn how to use the app configuration with .NET and how to add a configuration provider to use a central configuration store: Azure App Configuration. For secrets, we have another Azure service available: Azure Key Vault. In this chapter, you’ll also learn how to combine Azure Key Vault with Azure App Configuration and reduce the number of secrets you need to store by using Azure managed identities.
In this chapter, you’ll learn how to do the following:
- Explore the functionality of .NET configurations
- Store configurations with Azure App Configuration
- Store secrets with Azure Key Vault
- Reduce the number of secrets needed using managed identities
- Use environments...