Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 1.4 KB

key-vault-python-qs-rg-kv-creation.md

File metadata and controls

48 lines (31 loc) · 1.4 KB
author ms.service ms.topic ms.date ms.author
msmbaldwin
key-vault
include
06/12/2024
msmbaldwin
  1. 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.

  2. 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.

  1. 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.

  2. 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.