access-control assign-role
Usage​
tecton access-control assign-role [OPTIONS]
Description​
Assign a role to a principal.
Options​
Flag | Description |
---|---|
-w , --workspace TEXT | Workspace name |
--all-workspaces | Assign role on all workspaces |
-r , --role | Role: 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 TEXT | User Email |
-s , --service-account TEXT | Service Account ID |
-g , --principal-group TEXT | Principal Group ID |
-c , --secret-scope TEXT | Secret Scope name |