Copied to clipboard

Flag this post as spam?

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


  • Morten Bork 5 posts 75 karma points
    Apr 05, 2024 @ 11:32
    Morten Bork
    0

    MailSettings password in web.config from key vault

    Hi,

    I am running a 8.18.1 installation, where we want to move all keys and password to Azure Key Vault. Everything is working, but i cannot figure out how to set the MailSettings password from a Key Vault.

      <system.net>
    <mailSettings>
      <smtp from="[email protected]" xdt:Transform="InsertIfMissing">
        <network host="smtp.office365.com" port="587" userName="[email protected]" password="[SET PASSWORD FROM KEYVAULT]" enableSsl="true" />
      </smtp>
    </mailSettings>
    

    Does anybody figured out how to do this ?

  • Steffen Hornbæk Nielsen 56 posts 168 karma points
    Apr 18, 2024 @ 12:28
    Steffen Hornbæk Nielsen
    0

    There is awesome documentation for this -> https://docs.umbraco.com/umbraco-cms/extending/key-vault

    https://docs.umbraco.com/umbraco-cms/extending/key-vault#link-our-key-vault-secret-to-an-azure-web-app

    Remeber to create a new configuration for this, otherwise it won't work.

  • 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