Describe the bug
According to az keyvault key list-versions
we can get specified numbers of key versions. But when I tried to run this command both from Azure Cloud Shell and from Cloud Shell in Azure web portal, I've got error:
c
To Reproduce
- Open Cloud shell in Azuree web portal.
- Enter command
az keyvault key list-versions --name "yourKeyName" --vault-name "yourKeyVaultName" --maxresults 1
- Error is occurred
Parameter 'maxresults' failed to meet validation requirement
Expected behavior
Version of key should be returned.