Turn responsibilities into scoped roles
How job responsibilities map to scoped AWS roles that approved identities assume through STS-backed role switching, including across account boundaries. · associate
Role-Based Access Control (RBAC) starts with a job, not a person. Define the operations that job needs, then limit their resource and environment scope. A reports analyst might need s3:GetObject for objects under one reports prefix, not write access or access to every bucket. People with the same approved responsibility can use the same role.
An IAM role separates two controls. Its trust policy identifies principals allowed to assume it, subject to any conditions. Its permissions policies define the operations the resulting role session is allowed to perform. Being trusted to assume a role does not, by itself, grant access to data.
For cross-account assumption, both accounts must authorize the relationship. The caller needs permission for sts:AssumeRole on the target role, and the target role's trust policy must allow that caller. Required conditions must also be met, and applicable explicit denies still take precedence.
| Control | Question answered | Example scope |
|---|---|---|
| Target role trust policy | Who may assume? | Approved Account A principal |
| Target role permissions | What may the session do? | Read approved report objects |
| Caller's assumption permission | Which role may be requested? | Account B ReportsReader ARN |
AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.