Interview Prep/AWS/IAM, Organizations and Multi-Account

A Lambda function cannot read an S3 bucket in another account even though the bucket policy allows the role. Why?

IntermediateScenarioIAM, Organizations and Multi-Account
Answer

Situation read → Cross-account S3 access requires the identity policy in the caller account and the bucket policy to both allow, and KMS if the objects are encrypted.

What I'd do →

  1. Confirm the Lambda execution role has s3:GetObject on the bucket ARN and object path
  2. Confirm the bucket policy principal is the role ARN, not just the account root
  3. If SSE-KMS, check the key policy and the role's kms:Decrypt on that key
  4. Check the bucket for Block Public Access or a VPC endpoint policy denying the call

Why → Missing KMS permission produces an AccessDenied that looks identical to a missing S3 permission, which wastes hours.

Interview tip → Always ask "is the object KMS-encrypted?" first in cross-account S3 problems.

aws All AWS questions Roadmap: AWS core services

More on IAM, Organizations and Multi-Account