Skip to main content
Updated May 10, 2026 The raff role command group manages IAM roles. System roles (Owner, Admin, Operator, Member, etc.) are immutable and managed by the platform; only custom roles can be created here. Every subcommand supports --output json for scripting. Alias: raff roles.

Subcommand index


list

List roles, optionally filtered by scope. Output columns: ID, NAME, SLUG, SCOPE, SYSTEM, PERMISSIONS (count).

get

Show full role details — name, slug, scope, system flag, description, full permission list.

create

Create a custom role. Required: --name, --slug, --scope, at least one --permission. Pass --permission multiple times to add several permissions. Discover permission names via raff permission list --scope <scope>.

update

Update a custom role. At least one flag must be provided. Passing --permission replaces the entire permission set; omit to keep current permissions.

delete

Delete a custom role. System roles cannot be deleted. Pass --force to skip the confirmation prompt.

Permission commands

Browse the permission catalog.

raff_role (Terraform)

Declarative role management.

Member commands

Assign roles to members.
Last modified on May 11, 2026