For the complete documentation index, see llms.txt. A markdown version of this page is at /organizations-teams/policies-identities/workstation-identity/index.md.

Workstation identity and capabilities

A workstation can act for itself, with an identity of its own and capabilities that say what that identity may do.

A workstation can act for itself, as opposed to you acting on it. Its capabilities say what that identity may do, such as reading its own record, stopping itself or signing in as a service account. This page covers what a workstation’s identity holds by default and how to let it sign in as a service account.

Workstation identity

A workstation has an identity of its own only where whoever runs your Ringleader deployment has turned workstation identity on. It is off by default. Where it is off, the workstation can use none of its capabilities, whatever you declare.

By default, a workstation’s own identity can read its own record and nothing more. The self:power and sa:assume capabilities stay off until an administrator grants them. Enforced protections lists this among the rules that hold by default, and OWASP lists shows it against ASI03, Identity and Privilege Abuse.

Workstation capabilities

You declare a workstation’s capabilities in a WorkstationConfig. Workstation capabilities has the table of capabilities with what each allows and its default. It also says how the layers combine: an administrator’s layer grants, a member can only narrow, and what a workstation ends up holding never exceeds what its owner may do.

Service account sign-in

A workstation that holds the sa:assume capability may assume a service account at all. Which one is decided by that account’s own trust rules, which Service accounts and CI sign-in describes.

The trust rule’s provider has the ringleader-workstation profile. The audience is the deployment’s own and is always carried, so a rule needs none. A rule must pin sub. Pin workstation_uid alongside it, because a workstation name is reclaimable by any member of its namespace once the workstation is deleted.

Workstation claims

A statement Ringleader signs for a workstation carries two claims, ringleader_namespace and ringleader_principal, whatever the subject. Signed statement claims lists them.

Let a workstation sign in as a service account

Give the workstation the capability, then trust it.

  1. In an administrator’s WorkstationConfig layer, declare sa:assume under capabilities, as Workstation capabilities describes.
  2. Register an IdentityProvider with the ringleader-workstation profile.
  3. Add a trust rule to the service account, with the pins that Service account sign-in names. Trust a CI provider shows the command.
  4. In the workstation, sign in as Sign in from CI describes.

Next steps