Skip to main content
Version: 1.0

access-control get-roles

Usage​

tecton access-control get-roles [Options]

Description​

Get the roles assigned to a principal.

Options​

flagdescription
-u, --user textUser Email
-s, --service-account TEXTService Account ID
-g, --principal-group TEXTPrincipal Group ID
-w, --workspace TEXTWorkspace Name (workspace as a principal, not resource)
-r, --resource_typeOptional Resource Type filter. One of workspace, organization, or secret-scope
--json-outFormat output as JSON

Was this page helpful?