-
Notifications
You must be signed in to change notification settings - Fork 3.4k
az keyvault show-deleted suggests using --vault-name which doesn't exist #33367
Copy link
Copy link
Open
Labels
Auto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamError MessagesKeyVaultaz keyvaultaz keyvaultPossible-SolutionSimilar-Issueact-identity-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamError MessagesKeyVaultaz keyvaultaz keyvaultPossible-SolutionSimilar-Issueact-identity-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Describe the bug
When you don't supply the key vault name or hsm name to
az keyvault show-deletedit suggests using an argument that doesn't exist.eg. if you run this, the error message returned suggests using
--vault-namebut it should suggest using--nameRelated command
az keyvault show-deleted
Errors
Error message says:
Please specify --vault-name or --hsm-nameIssue script & Debug output
az keyvault show-deleted --query "[].name"
Expected behavior
Valid parameters are suggested
Environment Summary
azure-cli 2.86.0
core 2.86.0
telemetry 1.1.0
Dependencies:
msal 1.35.1
azure-mgmt-resource 24.0.0
Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Config directory 'C:\Users\david.gardiner.azure'
Extensions directory 'C:\Users\david.gardiner.azure\cliextensions'
Python (Windows) 3.13.13 (tags/v3.13.13:01104ce, Apr 7 2026, 19:25:48) [MSC v.1944 64 bit (AMD64)]
Legal docs and information: aka.ms/AzureCliLegal
Additional context
No response