Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rob Watkins 370 posts 702 karma points
    Dec 20, 2018 @ 10:28
    Rob Watkins
    1

    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?

  • Rob Watkins 370 posts 702 karma points
    Jan 03, 2019 @ 11:26
    Rob Watkins
    0

    Surely someone has done this?!

  • Harry Spyrou 212 posts 604 karma points
    Jan 03, 2019 @ 14:52
  • Giampiero D'Agostino 14 posts 106 karma points
    Aug 21, 2019 @ 06:51
    Giampiero D'Agostino
    1

    I'd be very interested in this too. Did anyone manage to do the above?

  • Nikhil 54 posts 166 karma points
    Feb 21, 2020 @ 14:49
    Nikhil
    0

    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.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies