Workload Identity Federation

From wikieduonline
Revision as of 09:11, 16 July 2026 by Welcome (talk | contribs) (→‎Related)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

https://docs.cloud.google.com/iam/docs/workload-identity-federation

Lets Kubernetes pods authenticate to GCP APIs using a distinct, scoped GCP service account per workload, instead of the node's shared one.

  • Replaces the old model where every pod on a node inherited the same broad oauth_scopes identity.
  • Uses short-lived tokens tied to an explicit KSAGSA binding — no static keys stored anywhere.
  • Limits blast radius: a compromised pod only has its own workload's permissions, not everything the node can do.
  • Enabling it (via GKE_METADATA mode) also blocks the old fallback path — so any pod without an explicit binding now gets no GCP access at all.

Related[edit]

See also[edit]

Advertising: