author | ms.service | ms.topic | ms.date | ms.author |
---|---|---|---|---|
msmbaldwin |
key-vault |
include |
06/12/2024 |
msmbaldwin |
-
Use the
az group create
command to create a resource group:az group create --name myResourceGroup --location eastus
You can change "eastus" to a location nearer to you, if you prefer.
-
Use
az keyvault create
to create the key vault:az keyvault create --name <your-unique-keyvault-name> --resource-group myResourceGroup
Replace
<your-unique-keyvault-name>
with a name that's unique across all of Azure. You typically use your personal or company name along with other numbers and identifiers.
-
Use the
New-AzResourceGroup
command to create a resource group:New-AzResourceGroup -Name myResourceGroup -Location eastus
You can change "eastus" to a location nearer to you, if you prefer.
-
Use
New-AzKeyVault
to create the key vault:New-AzKeyVault -Name <your-unique-keyvault-name> -ResourceGroupName myResourceGroup -Location eastus
Replace
<your-unique-keyvault-name>
with a name that's unique across all of Azure. You typically use your personal or company name along with other numbers and identifiers.