workload identity
An identity for software rather than a person, proven by a signed token from the platform it runs on instead of a stored key.
In more detail
A GitHub Actions job or a Kubernetes pod gets a short-lived OIDC token, and the cloud exchanges it for temporary credentials after checking the token's issuer, audience and subject. Nothing long-lived is stored, but an over-broad trust policy still lets the wrong workload in.
Related terms
- federation — Letting people sign in with an account from an existing identity provider, such as the company login, instead of creating a separate user for them in each system.
- OpenID Connect — An identity layer on top of OAuth 2.0 that tells an application who signed in, using a signed ID token.
- AssumeRoleWithWebIdentity — The AWS STS operation that exchanges a token from a trusted identity provider for temporary credentials of one IAM role.
- trust policy — A JSON document on a cloud role that says who may assume the role and under which conditions.
- secret — Any value that grants access, such as a password, access token or private key, and must be kept out of code and version control.
- key rotation — Replacing a password or key with a new one on a schedule or after a suspected leak, and re-encrypting what it protected.
- backing service — Any service an application uses over the network, such as a database, cache, queue, mail relay or payments provider.
- attestation — A signed statement about an artefact, such as its SBOM or how it was built, bound to the artefact's digest.
- audience — The recipient a token is meant for, named in its aud claim, such as one particular API.
- temporary security credentials — Cloud credentials that expire on their own after minutes or hours, issued when a role is assumed.
- token exchange — Trading one proof of identity, such as a platform-issued workload token, for another token that a target service accepts.
- service account — An identity for a program rather than a person; in Kubernetes each pod runs as one and gets a signed token for it.
Taught in
- Workload Identity Federation: Eliminating Static Keys — Cloud Security & DevSecOps Engineering
- Admin Processes And The Open Source Update — DevOps & Site Reliability Engineering
- Containers And Orchestration Context — DevOps & Site Reliability Engineering
- Workload Identity — Application Security & Threat Modeling for Engineers