MaxSessionDuration
A role setting, from one to twelve hours, that caps how long credentials from assuming it can last.
In more detail
A caller asks for a duration with DurationSeconds, and STS refuses requests beyond the role's maximum. Chained sessions are limited to one hour regardless.
Related terms
- role chaining — Using temporary credentials from one assumed role to assume another role.
- AssumeRole — The STS operation a principal calls to take on an IAM role and receive that role's temporary credentials.
Taught in
- Cross-Account AssumeRole Chains & Temporary STS — Cloud Security & DevSecOps Engineering