To create a new Azure Key Vault, use the Azure portal to define your vault’s name, region, and access controls. This secure store helps manage secrets, keys, and certificates for cloud applications.
Step-by-Step: Creating an Azure Key Vault via Azure Portal
- Sign in to the Azure portal using the same credentials you used to activate the Azure Sandbox.
- Select Create a resource. The Create a resource pane appears.
- In the Search services and marketplace, search for and select Key Vault to find the Azure Key Vault service. The Key Vault pane appears.
Select Create. The Create key vault pane appears.
- On the Basics tab, enter the following values for each setting. Setting Value Subscription: From the dropdown, select your subscription. Resource group: From the dropdown, select your resource group.
Instance details
Key vault name: Enter a globally unique name for the new vault. Vault names must be 3-24 characters long and contain only alphanumeric characters and dashes. The exercise uses the example name of VaultamortDiary for the new vault.
Region: Accept default.
Pricing tier: Accept default.
- Select Review + create.
- After validation passes, select Create to create the Azure Key Vault.
After the deployment is complete, select Go to resource. Your Key vault pane appears

Add a secret
- In the left menu pane, under Objects, select Secrets. The Secrets pane appears for your key vault.
- In the top menu bar, select Generate/Import. The Create a secret pane appears.
- Enter a name, value, and (optional) content type and Select Create to add the secret. The Secrets pane reappears.
Show the secret
Finally, verify that the secret value has been set.
- Select your secret from the list. The Versions pane appears for your secret.
- Select the CURRENT VERSION of the secret. The Secret Version pane appears.
- Select Show Secret Value to see the value assigned to the secret.

Top comments (0)