[Key Vault] Add support for Key Rotation #16420
Labels
blocking-release
Blocks release
Client
This issue points to a problem in the data-plane of the library.
KeyVault
Milestone
To support KeyVault Key Rotation, implement the following changes (modeled from JS, but use whatever API is idiomatic for your language):
ARM Template changes
When creating a keyvault, add
rotate
to the keys' accessPolicies so that your test application has permissions to rotate and set the rotation policy.Key Client API
Note that policy behavior is against the latest version of a key.
New models
Swagger inconsistencies to be mindful of
The swagger defines the possible values for LifetimeActionsType as an enum consisting of
rotate
andnotify
but in reality it returnsRotate
andNotify
- the service accepts both casing, is case-insensitive, but in order to model the correct values here we went with the following swagger transformation:Notes
The text was updated successfully, but these errors were encountered: