Skip to content

Latest commit

 

History

History
58 lines (33 loc) · 2.02 KB

KEYVAULT.md

File metadata and controls

58 lines (33 loc) · 2.02 KB

Setting up Azure Key Vault

Setting up a new Azure Key Vault

Note: you only need to go through the following steps if you do not have an existing Azure KeyVault.

  • Step 1: Go to Azure Portal.

  • Step 2: Create a Resource Group

    • Click on the navigation icon in the Azure Portal, click on "Resource groups"; on the next screen click "+ Add"

      ResourceGroupCreate1

      ResourceGroupCreate2

  • Fill in the details as shown below and click "Review + create"; on the next screen click "Create"

    ResourceGroupCreate3

    ResourceGroupCreate4

  • Step 3: Create Azure Key Vault

    • Go to the resource group created in the step above, and click "+ Add", on the next screen search for "Key Vault" and hit the return key and then click "Create"

      KeyVaultCreate1

      KeyVaultCreate2

      KeyVaultCreate3

    • Fill in the required details as shown below and click "Access plolicy", then click "+ Add Access Policy" KeyVaultCreate4

      KeyVaultCreate5

    • Fill in the required details and click "Select", then click "Add" and then click "Create"

      KeyVaultCreate6

      KeyVaultCreate7

Connect an existing Key Vault to your Azure AD appid

Note: you only need to go through the following steps if you have an existing Azure KeyVault you want to reuse for the current sample.

  1. Go to Access policies under Settings. Click Add Access Policy.
  2. Under Secret Permissions, select Get and List.
  3. Under Certificate Permissions, select Get and List.
  4. Under Select principal, select your appid.
  5. Click Add to finish your access policy. Wait for your access policy to deploy.

Adding a self-signed certificate

Go to the Key Vault and click "Certificates", then click "+ Generate/Import"; Fill in the details as shown below and click "Create".

KeyVaultCreate8

KeyVaultCreate9