ExitCross-Account Access: authorizing access across account boundaries1 / 9
Explanation

Two accounts must authorize the crossing

How source-account permissions combine with destination role trust or resource policies to grant narrowly scoped access without removing account isolation. · associate

Cross-account access grants selected capabilities without combining accounts or transferring ownership. Network connectivity and membership in the same AWS organization do not automatically grant access. Two common patterns are assuming a destination-account role and accessing a resource directly through its resource policy.

For role assumption, the source identity needs an identity-policy allow for sts:AssumeRole on the specific destination role. That role's trust policy must also accept the caller. Trusting an account delegates authority to its administrators; it does not automatically authorize every identity in that account.

AWS STS returns temporary credentials for a destination-role session. The trust policy answers who can assume this role? The role's permissions policies answer what can its session do? The session uses those role permissions, not the original caller's permissions added to them.

PolicyWhere it belongsWhat it allows
Source identity policySource accountCalling AssumeRole
Role trust policyDestination roleAccepted callers
Role permissions policyDestination roleSession operations

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.