Design Secure Architectures

A central S3 bucket must allow read access to application roles in all current and future accounts in one AWS organization, without maintaining account lists or assuming central roles. The application roles already have identity policies allowing the reads; what should the architect configure?

Show the answer

Correct answerD. A bucket policy allowing reads with an aws:PrincipalOrgID condition matching the organization.

AWhy not this: An SCP sets permission limits; it does not grant cross-account access to an S3 bucket.

BWhy not this: IAM groups contain IAM users, not roles, and cannot provide cross-account group membership.

CWhy not this: An explicit account list would require updates when new accounts join the organization.

DWhy this is right: The organization ID condition scopes the resource-side grant to organization members without maintaining account lists.

A bucket policy using aws:PrincipalOrgID grants the resource-side permission based on organization membership, including future accounts. Listing account principals requires updates as accounts join, while an SCP does not grant access.