Skip to main content
Version: 1.0

access-control assign-role

Usage​

tecton access-control assign-role [OPTIONS]

Description​

Assign a role to a principal.

Options​

FlagDescription
-w, --workspace TEXTWorkspace name
--all-workspacesAssign role on all workspaces
-c, --secret-scope TEXTAssign role to a specific secret scope
-r, --roleRole: one of viewer, consumer, editor, owner, operator or admin, or secret_scope_reader, secret_scope_writer, secret_scope_manager for secret scopes) [required]
-u, --user TEXTUser Email
-s, --service-account TEXTService Account ID
-g, --principal-group TEXTPrincipal Group ID
-f, --filename FILENAMENewline separated list of user emails

Was this page helpful?