Interview Prep/AWS/Containers and Serverless

IRSA vs EKS Pod Identity?

AdvancedConceptContainers and Serverless
Answer

IRSA uses the cluster's OIDC provider: a service account is annotated with a role ARN, the pod gets a projected token, and the SDK calls AssumeRoleWithWebIdentity. Each cluster needs an OIDC provider and each role's trust policy references that cluster's issuer, which becomes painful at scale.

Pod Identity uses an agent DaemonSet and an aws eks create-pod-identity-association; roles trust pods.eks.amazonaws.com once, are reusable across clusters, and support session tags. New workloads should use Pod Identity unless on Fargate or outside EKS.

aws All AWS questions Roadmap: EKS, ECS & serverless on AWS

More on Containers and Serverless