Skip to content

Roles

albert.resources.roles

Role

Bases: BaseResource

A role in Albert. Note: Roles are not currently creatable via the SDK.

Attributes:

Name Type Description
name str

The name of the role.

id str

The Albert ID of the role. Set when the role is retrieved from Albert.

policies list[Any] | None

The policies associated with the role.

tenant str

The tenant ID of the role.

id

id: str | None = Field(default=None, alias='albertId')

name

name: str

policies

policies: list[Any] | None = Field(default=None)

tenant

tenant: str