0

From which CLI version below mentioned CLI command is supported

az keyvault key rotation-policy update

1 Answers1

0

As mentioned in MsDoc, Azure CLI version 2.42.0 or above is needed to update az key vault rotation key policy.

To upgrade azure CLI use:

az upgrade --yes

enter image description here

If you are already up to date, the output is as seen above.

After checking the prerequisites, I ran below command with retention policy taken in json file and able to update the key vault rotation successfully.

enter image description here

Jahnavi
  • 3,076
  • 1
  • 3
  • 10