Skip to content
Least Privilege Principle

Role chaining

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.

All terms ยท Open the calculator

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.

Sources

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

Last reviewed 16 Nov 2026.