Two pods, one role, one allowed SPIFFE ID
Two pods can share one IAM role, and one S3 bucket policy can still allow the first pod and deny the second. The tool is a SPIFFE ID that AWS now adds to the IAM role session on EKS Pod Identity. The bucket policy matches that ID. The role stays the same.
This feature is in preview as of 1 December 2026. AWS can still change it. I have not run it on a cluster yet, so the test result in this post is a placeholder that I will fill in after I run it.
Related:
