Store domain credentials in Azure Key Vault

This article describes how to store domain credentials in Azure Key Vault.

To store domain credentials in a key vault

  1. Go to the key vault resource created in step 4.

  2. On the left pane, under Objects, select Secrets.

    Note

    You must create two secrets to store the domain account credentials:

    • Username
    • Password
  3. Select Generate/Import.

  4. On the Create a secret page, do the following:

    1. Upload options: Select Manual.
    2. Name: Enter the name of the secret. For example, you can use Username for the username secret and Password for the password secret.
    3. Secret value: For the username value (in the format domain\username), enter the domain account username. For the password value, enter the domain account password. For example, if the domain is contoso.com, the username should be in the format contoso\username.
    4. Leave the Content type (optional), Set activation date, Set expiration date, Enabled, and Tags areas as default. Select Create to create the secret.

Next steps