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.
More on Identity, Least Privilege & OIDC for CI
How do you design AWS OIDC trust for GitHub Actions so only production deploys can assume the prod role?IntermediateWhat are the common mistakes in OIDC trust policies for CI?AdvancedHow do you configure OIDC for GitLab CI to AWS?IntermediateHow do you get from "everyone has AdministratorAccess" to least privilege without breaking things?AdvancedWhat SCP guardrails do you apply across an AWS organisation?IntermediateHow do you implement just-in-time (JIT) privileged access for production?Intermediate