role chaining
Using temporary credentials from one assumed role to assume another role.
In more detail
A session obtained through role chaining lasts at most one hour, whatever the role's maximum session duration. Because almost every hop starts from a role session, one hour is the practical cap.
Related terms
- AssumeRole — The STS operation a principal calls to take on an IAM role and receive that role's temporary credentials.
- MaxSessionDuration — A role setting, from one to twelve hours, that caps how long credentials from assuming it can last.
- role session — The temporary identity created when a role is assumed, shown as arn:aws:sts::account:assumed-role/role-name/session-name.
Taught in
- Who Signs In: Identity Center, STS And Cognito — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Cross-Account AssumeRole Chains & Temporary STS — Cloud Security & DevSecOps Engineering