az keyvault create \
--resource-group learn-2d1cd2e7-bce6-400b-b21a-88930f4837ac \
--location centralus \
--name <your-unique-vault-name>
The above code is provided by microsoft only.
az keyvault create \
--resource-group learn-2d1cd2e7-bce6-400b-b21a-88930f4837ac \
--location centralus \
--name <your-unique-vault-name>
The above code is provided by microsoft only.
@AvadhootKhandagale-5358 Thanks for reaching out. It looks like you tried to run the provided command as is and the command errored out on encountering the < character.
Please replace the placeholder <your-unique-vault-name> with your actual Azure Key Vault name that you intend to create and then try again. Note that the key vault name parameter must be a string of 3 to 24 characters that can contain only numbers (0-9), letters (a-z, A-Z), and hyphens (-).
The following works fine for me:
az keyvault create \
--resource-group myResourceGroup \
--location centralus \
--name myKeyVault
Refer to this quickstart for a step-by-step guide to create an Azure Key Vault resource with Azure CLI: Quickstart: Set and retrieve a secret from Azure Key Vault using Azure CLI
Hope this helps. Do let us know if you still see issues.
10 people are following this question.
KeyVaultClient.GetSecretAsync(url) causing delay
key vault - for multiple app service should I create seperate key vault in one environment
Visual Studio 2019 Azure KeyVault configuration error when publish
Same object id in SystemAssigned Identity of AppService and its slot
Support Always encryption on Azure Sql DB by storing key in Azure Key Vault