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
-
Fill in the details as shown below and click "Review + create"; on the next screen click "Create"
-
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"
-
Fill in the required details as shown below and click "Access plolicy", then click "+ Add Access Policy"
-
Fill in the required details and click "Select", then click "Add" and then click "Create"
-
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.
- Go to Access policies under Settings. Click Add Access Policy.
- Under Secret Permissions, select Get and List.
- Under Certificate Permissions, select Get and List.
- Under Select principal, select your appid.
- Click Add to finish your access policy. Wait for your access policy to deploy.
Go to the Key Vault and click "Certificates", then click "+ Generate/Import"; Fill in the details as shown below and click "Create".