Interview Prep/DevSecOps/Secrets Management and Identity

IRSA vs EKS Pod Identity: what is the difference?

AdvancedConceptSecrets Management and Identity
Answer

IRSA uses the cluster's OIDC provider and a ServiceAccount annotation; the role trust policy references the cluster OIDC URL and the ServiceAccount, so each cluster needs its own trust entries and an IAM OIDC provider.

Pod Identity uses an EKS agent and an association (aws eks create-pod-identity-association), with a single trust to pods.eks.amazonaws.com, so roles are reusable across clusters and no OIDC provider setup is needed. It also supports session tags for ABAC. Prefer Pod Identity for new clusters; IRSA still works everywhere including non-EKS.

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Secrets Management and Identity