Interview Prep/DevSecOps/Identity, Least Privilege & OIDC for CI

What is SPIFFE/SPIRE and when would you adopt it?

AdvancedProductionIdentity, Least Privilege & OIDC for CI
Answer

SPIFFE is a standard for workload identity: every workload gets an ID like spiffe://example.org/ns/payments/sa/api and a short-lived credential (X.509 SVID or JWT SVID). SPIRE is the reference implementation that attests workloads (by Kubernetes service account, node identity, AWS instance identity) and issues SVIDs automatically.

Adopt it when identity must work across platforms (Kubernetes, VMs, multiple clouds) and you want mTLS or federation without cloud-specific mechanisms. Inside a single mesh, Istio already issues SPIFFE-format identities, so SPIRE is often unnecessary. It also lets workloads exchange a JWT SVID for cloud credentials through OIDC federation, removing static keys outside Kubernetes.

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Identity, Least Privilege & OIDC for CI