Skip to content

KeyVault RBAC RoleDefinitionProperties assignableScopes not working as expected #23045

Open

Description

when i create a RoleDefinition for a ManagedHSM for assignableScopes field as described here:

"assignableScopes": {
"type": "array",
"items": {
"$ref": "#/definitions/RoleScope"
},
"description": "Role definition assignable scopes."

if i pass a /keys to Create Method, the response of this field changed to /. Is this a by-design or this property does not support the vaule of /keys?

Request:

image

Response:

image

Enum defined the /keys value:

"RoleScope": {
"type": "string",
"description": "The role scope.",
"enum": [
"/",
"/keys"
],
"x-ms-enum": {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    KeyVaultService AttentionWorkflow: This issue is responsible by Azure service team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions