Forum Discussion
Lakshmi_145
Dec 29, 2022Brass Contributor
Methods for encrypting secrets in appsettings.json
Currently in our project we are storing credentials in appsettings.json.
We need a safe approach to store the secrets in .Net 6
- Meghana-MSFTMicrosoft
We can store appsettings values in KeyVault and read it at runtime. You can implement Azure KeyVault -
- Overview of Key Management in Azure | Microsoft Learn
- Azure Key Vault Overview - Azure Key Vault | Microsoft Learn
- https://learn.microsoft.com/en-us/azure/key-vault/general/tutorial-net-create-vault-azure-web-app