# Role chaining

Facts read 16 Nov 2026. Page reviewed 16 Nov 2026.

Role chaining is using one AWS role to assume a second role. The second role's access depends on the first role's permission to assume it, so trust has to be read along the whole chain. Each hop in the chain gives the caller a fresh set of short-term credentials.

## An example, sourced

AWS documentation says role chaining is when you use a role to assume a second role, and gives the example of RoleA's short-term credentials enabling User1 to assume RoleB.

## Why it matters here

Chains can lead to roles broader than the starting one. Review who can assume what, not only what each role allows.

## Related pages

- [Privileged role: meaning and an example](/glossary/privileged-role/)
- [Policy generation: meaning and an example](/glossary/policy-generation/)
- [Job function policy: meaning and an example](/glossary/job-function-policy/)
- [All of them](/glossary/)

## Sources

- https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html (read 16 Nov 2026)

Last reviewed 16 Nov 2026. Canonical: https://leastprivilegeprinciple.com/glossary/role-chaining/
