I would like to store my Db password in the Azure KeyVault and be able to use it in the connection string in appsettings.json. Possible?
My Application is registered and configured with the Azure Key Vault.
I also created a secret value of which is identical with my Db password).
I can see that my App Service application is configured with the key vault since there is a relevant configuration entry in launchSettings.json
.
This is what I would like to do in appsettings.json
:
"myContext": "Server=myServer;Database=myDb;User Id=myUser; Password={KEYVAULTSECRET}"
Possible?