Recently, I got the opportunity to use the az keyvault list command. This article will discuss the syntax and usage of the az keyvault list Azure CLI command with certain examples.
Table of Contents
Az keyvault list
This command helps you to list the Azure key Vaults and/or HSMs.
Syntax
az keyvault list [--resource-group]Example
The below command helps you get the Azure key vault lists under the specified Resource Groups.
az keyvault list --resource-group MyNewResGrpAfter executing the above command, I got the expected output as shown below.
[
{
"id": "/subscriptions/1cdf4300-dee5-4518-9c9c-feaa72a5cbd1/resourceGroups/MyNewResGrp/providers/Microsoft.KeyVault/vaults/azurelessonsKV",
"location": "eastus",
"name": "azurelessonsKV",
"properties": {
"accessPolicies": [],
"createMode": null,
"enablePurgeProtection": null,
"enableRbacAuthorization": true,
"enableSoftDelete": true,
"enabledForDeployment": false,
"enabledForDiskEncryption": false,
"enabledForTemplateDeployment": false,
"hsmPoolResourceId": null,
"networkAcls": {
"bypass": "None",
"defaultAction": "Allow",
"ipRules": [],
"virtualNetworkRules": []
},
"privateEndpointConnections": null,
"provisioningState": "Succeeded",
"publicNetworkAccess": "Enabled",
"sku": {
"family": "A",
"name": "Standard"
},
"softDeleteRetentionInDays": 90,
"tenantId": "5d9d690a-0310-474d-ae8b-42df2d549228",
"vaultUri": "https://azurelessonskv.vault.azure.net/"
},
"resourceGroup": "MyNewResGrp",
"systemData": {
"createdAt": "2025-01-30T10:51:30.126000+00:00",
"createdBy": "fewlines4biju@hotmail.com",
"createdByType": "User",
"lastModifiedAt": "2025-01-30T10:51:30.126000+00:00",
"lastModifiedBy": "fewlines4biju@hotmail.com",
"lastModifiedByType": "User"
},
"tags": {},
"type": "Microsoft.KeyVault/vaults"
}
]You can see the same output as shown in the screenshot below.

You may also like following the articles below.

I am Rajkishore, and I am a Microsoft Certified IT Consultant. I have over 14 years of experience in Microsoft Azure and AWS, with good experience in Azure Functions, Storage, Virtual Machines, Logic Apps, PowerShell Commands, CLI Commands, Machine Learning, AI, Azure Cognitive Services, DevOps, etc. Not only that, I do have good real-time experience in designing and developing cloud-native data integrations on Azure or AWS, etc. I hope you will learn from these practical Azure tutorials. Read more.
