Service account
A non-human identity for automation, such as running evaluators or sending data. Service accounts cannot sign in.
service_account · System › Account › Service account
This is a principal: it can be granted roles and hold relationships to resources.
Permissions
| Permission | Description | Granted by |
|---|---|---|
service_account.view | View the service account. | Global administrator, Account administrator, Service account manager, the viewer relationship, the manager relationship |
service_account.update | Rename, disable or enable the service account. | Global administrator, Account administrator, Service account manager, the manager relationship |
service_account.delete | Delete the service account. | Global administrator, Account administrator, Service account manager, the manager relationship |
service_account.create | Create service accounts. Privileged. | Global administrator, Account administrator, Service account manager |
service_account.run_as | Run evaluators and other work as the service account, with its access. Privileged. | Global administrator, Account administrator, Service account manager, the manager relationship |
service_account.view_access | View who has access to the service account and the roles it holds. | Global administrator, Account administrator, Access administrator, Security reviewer, Service account manager, the manager relationship, the viewer relationship |
service_account.manage_access | Change who has access to the service account and the roles it holds. Privileged. | Global administrator, Account administrator, Access administrator, Service account manager, the manager relationship |
Relationships
A relationship connects a principal to one service account and gives the permissions that list it.
| Relationship | Held by | Description |
|---|---|---|
manager | User, member of Group, Service account | Can edit the service account and the roles it holds. |
viewer | User, member of Group, Service account | Can view the service account. |
Attributes
Conditions read these as resource.<attribute>, or as principal.<attribute> when this is the caller.
| Attribute | Type | Description |
|---|---|---|
Name | string | The service account's name, chosen by whoever creates or renames it. Self-asserted: set without verification by the subject or whoever creates it, so custom roles, policies and binding denies cannot read it. |
IsDisabled | bool | Whether the service account is disabled. |
IsDefault | bool | Whether this is the account's default service account. |
Policies
| Policy | Effect | Description |
|---|---|---|
| Disabled service accounts | Forbid | Disabled service accounts are denied everything. |
| Account visible dashboards | Permit | Public dashboards (account visibility) can be viewed by all users and service accounts with access to the account. Private dashboards require access through a role or a viewer or editor relationship, either directly or through a group. Roles that grant dashboard access across the account also apply to private dashboards. Public sharing is limited to the account and does not allow anonymous access. |