Ability to stay connected to AWS console during an active session from forced logout using a token

0

My team has a session token set for AWS Console access that forces a logout after 60 minutes. This occurs if the user is active or not active. Does anyone know if there is a way to adjust this time for active sessions only? I didn't see anything but thought I would take a stab in the dark and see if anyone has any ideas.

2 Antworten
1

Sure, you can customize the session timeout duration for active sessions only in AWS Console using IAM or AWS CLI. Just set the "SessionDuration" parameter to a value lower than the maximum session duration for your IAM role to allow longer active sessions.

AWS_Guy
beantwortet vor einem Jahr
0

Hello,

Greetings of the day.

Thank you for reaching out with your concern in AWS re:Post.

I Understand that you would like to know if there is a way to adjust this time for active sessions only.

I would like to inform you that regarding AWS Console sessions initiated by IAM users or the root account, unfortunately, there is no way to customise a session timeout at this moment; a login session will expire in 12 hours when you sign into the AWS Management Console with your AWS or IAM account credentials [1].

However, when your IAM users assume IAM roles from AWS Console, it is possible to customise the session timeout for each role [2]; the session duration for IAM roles can be set from 15 minutes to 12 hours [3].

I hope the above information is helpful to you.

Thank you and have a great day ahead.

Reference:-

[1] AWS Web Console FAQ https://aws.amazon.com/console/faqs/#session_expire

[2] Modifying a role (console) - Modifying a role maximum session duration (console) https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-managingrole-editing-console.html#roles-modify_max-session-duration

[3] Using IAM roles https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html

AWS
Priya_s
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen