3 ms·
I believe the max duration of an assumed role session is 12 hours, but this can be changed per-role.
by ary 4y ago
I believe the max duration of an assumed role session is 12 hours, but this can be changed per-role.
- arkadiyt 4y agoFor assuming one role it can be up to 12 hours. If you're doing role chaining like the parent mentioned (where the 1st assumed role then assumes a 2nd role) then the maximum session duration is 1 hour. AWS has this documented here: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_te... > Role chaining limits your AWS CLI or AWS API role session to a maximum of one hour.