Workload Identity Federation
Workload identity federation lets a workload authenticate to a cloud provider by presenting a short-lived token from an identity provider it already has, such as a CI/CD system or a Kubernetes cluster, instead of storing a long-lived secret or access key.
The workload obtains a signed OIDC token from its own platform (for example, the token GitHub Actions issues to each job), and the cloud validates the token's issuer, subject and audience against a trust configuration before exchanging it for temporary credentials. AWS supports this through IAM OIDC identity providers, Google Cloud through Workload Identity Federation, and Microsoft Entra through federated identity credentials on app registrations and managed identities. It removes the stored secret that leaks into repositories and tickets, which is the most common way cloud workloads are compromised. The main mistake is a trust condition that is too broad, such as accepting any branch or any repository in an organization, which lets an attacker who can run a job anywhere in scope assume the role.
See also: workload identity, token exchange, SPIFFE, secrets in repositories and CI, trusted publishing
Related on Start with Identity
- GlossaryTransaction Tokens (Txn-Tokens)
Transaction Tokens (Txn-Tokens) are short-lived, signed JWTs, defined in the IETF draft [draft-ietf-oauth-transaction-tokens](https://datatracker.ietf.org/doc/d
- GlossaryAgentic Identity
Identity for autonomous AI agents that act on a user's behalf, call APIs, and chain tools. Requires scoped, delegated, auditable, and revocable credentials rath
- GlossaryDelegation Chain
A delegation chain is the sequence of parties acting on a user's behalf as a request passes from one to the next: for example a user delegates to an AI agent, w
- RecipeKubernetes workload identity: EKS Pod Identity or IRSA, and GKE Workload Identity Federation
Map a Kubernetes service account to an IAM role on EKS with Pod Identity (or IRSA where Pod Identity is unavailable) and to IAM roles on GKE with Workload Ident
- RankingBest Machine Identity for Startups: Top 5 Secrets & Workload Tools
The best machine identity tools for startups in 2026: Infisical, Doppler, HashiCorp Vault, Akeyless, and SPIFFE/SPIRE. Ranked for developer experience, pricing,
- TechniqueFederation trust abuse and SAML forgery
A service provider that accepts a SAML assertion it should have rejected treats a forged identity as authenticated, because the failure sits in signature valida