[BUG] Keyvault rbac DataAction miss out the keys/rotation/action
#31286
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
data-plane
API Spec link
azure-rest-api-specs/specification/keyvault/data-plane/Microsoft.KeyVault/stable/7.5/rbac.json
Line 706 in f0f1de5
API Spec version
7.5
Describe the bug
As the Local RBAC built-in roles for Managed HSM documentation described there is a
keys/rotate/action
permission and the key-rotation requires thekeys/rotate/action
permission to rotate the Managed HSM key. but the permission list for data actions in the swagger missed the rotate item:azure-rest-api-specs/specification/keyvault/data-plane/Microsoft.KeyVault/stable/7.5/rbac.json
Lines 706 to 720 in f0f1de5
Expected behavior
The
Microsoft.KeyVault/managedHsm/keys/rotate/action
should be included in the DataAction list.Actual behavior
No rotate permission in Swagger definition, so the generated SDK also lacks this item.
Reproduction Steps
https://github.com/tombuildsstuff/kermit/blob/654702e0718c3aa7f9644c29feae5e3817e01bc2/sdk/keyvault/7.4/keyvault/enums.go#L42-L70
Environment
No response
The text was updated successfully, but these errors were encountered: