❔ Key Vault + AppConfiguration usage
In my past I've been using it as following:
- Secret configuration values, like passwords, connection strings, or API keys are added to Azure KeyVault. References to these values should be placed in the Azure AppConfiguration
- Configuration values specific to a single service should be placed in the appsettings.json or appsettings.{ENVIRONMENT}.json file for that service
- Shared configuration values among services should be added to Azure AppConfiguration
So I wonder what's opinion on that. How do you use it?
https://learn.microsoft.com/en-us/azure/azure-app-configuration/use-key-vault-references-dotnet-core?tabs=core6x
Tutorial for using Azure App Configuration Key Vault references in ...
In this tutorial, you learn how to use Azure App Configuration's Key Vault references from an ASP.NET Core app
3 Replies
You can have configurations in your AppConfiguration, Environment Variables, or even the appsettings.json.
But secrets will always need to be stored in the Key Vault
So your approach is fine
Kind of the correct way to use it
As long you're not exposing any secrets
@snowy9228, thanks, so I will continue using it that way^^
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.