Skip to content

AppRoleDefinition

Describes an App Role that principals hold and that Grants reference.

  • BaseRoleDefinition

readonly extends: string[]

PRNs of every Role this Role extends, transitively flattened: a principal holding this Role also holds each listed Role for Grant checks.


readonly key: string

Key of the Role, unique within its App or Template.

BaseRoleDefinition.key


readonly optional label?: string

Display label given when the Role was added.

BaseRoleDefinition.label


readonly prn: string

PRN of the Role: prn::<app>:role/<key> for an App Role, <templatePrn>/role/<key> for a Template Role.

BaseRoleDefinition.prn