Skip to content

"Parameter 'maxresults' failed to meet validation requirement" in az keyvault key list-versions #7311

@Soul-D

Description

@Soul-D

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

  1. Open Cloud shell in Azuree web portal.
  2. Enter command
    az keyvault key list-versions --name "yourKeyName" --vault-name "yourKeyVaultName" --maxresults 1
  3. Error is occurred
    Parameter 'maxresults' failed to meet validation requirement

Expected behavior
Version of key should be returned.

Metadata

Metadata

Assignees

Labels

KeyVaultaz keyvaultquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions