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.
More on Secrets Management and Identity
Why is hard-coding secrets or putting them in environment variables a problem?BeginnerWhat does HashiCorp Vault provide?BeginnerExplain Vault's seal/unseal process.IntermediateWhat are Vault dynamic secrets and why are they better than static ones?IntermediateHow do Kubernetes workloads authenticate to Vault?AdvancedWhat is AWS Secrets Manager and how does it compare with SSM Parameter Store?Beginner