What is the maximum session duration of a role and how do you change it?
BeginnerConceptIAM Advanced, STS and Multi-Account
Answer
Default 1 hour, configurable from 1 hour to 12 hours per role. A caller can request any duration from 15 minutes up to that cap. Role chaining is hard-capped at 1 hour, and console role switching also respects the role's max.
aws iam update-role --role-name deploy --max-session-duration 7200
More on IAM Advanced, STS and Multi-Account
Explain the IAM policy evaluation logic.AdvancedHow does cross-account access evaluation differ from same-account?AdvancedHow does `sts:AssumeRole` work, step by step?IntermediateWhat is the difference between AssumeRole, AssumeRoleWithWebIdentity and AssumeRoleWithSAML?IntermediateWhat is a permission boundary and when would you use one?IntermediateWhat do Service Control Policies do and not do?Intermediate