Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
We have recently migrated an Umbraco 7 instance to Azure WebApps as per a client requirement, which has all gone very well.
However the client has requested that instead of using the web.config for connection strings we use an Azure KeyVault they have set up.
I cannot find any clear help on how to get Umbraco to get the connection string from KeyVault rather than web.config; can anyone help?
Surely someone has done this?!
Is that what you're looking for?
https://stackoverflow.com/questions/43722030/how-to-get-connection-string-out-of-azure-keyvault
I'd be very interested in this too. Did anyone manage to do the above?
Why not encrypt the config file?
https://visualstudiomagazine.com/articles/2009/06/11/encrypting-the-web-config-file.aspx
You can create a RSA container:
https://docs.microsoft.com/en-us/previous-versions/2w117ede(v=vs.140)?redirectedfrom=MSDN
A keyvault can be deleted. KeyVault API may fail. Its better to read the key vault and update data in the config file and encrypt it during deployment.
Please do not add key vault code to your application as you may see a performance dip.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Umbraco on Azure using Key Vault
We have recently migrated an Umbraco 7 instance to Azure WebApps as per a client requirement, which has all gone very well.
However the client has requested that instead of using the web.config for connection strings we use an Azure KeyVault they have set up.
I cannot find any clear help on how to get Umbraco to get the connection string from KeyVault rather than web.config; can anyone help?
Surely someone has done this?!
Is that what you're looking for?
https://stackoverflow.com/questions/43722030/how-to-get-connection-string-out-of-azure-keyvault
I'd be very interested in this too. Did anyone manage to do the above?
Why not encrypt the config file?
https://visualstudiomagazine.com/articles/2009/06/11/encrypting-the-web-config-file.aspx
You can create a RSA container:
https://docs.microsoft.com/en-us/previous-versions/2w117ede(v=vs.140)?redirectedfrom=MSDN
A keyvault can be deleted. KeyVault API may fail. Its better to read the key vault and update data in the config file and encrypt it during deployment.
Please do not add key vault code to your application as you may see a performance dip.
is working on a reply...