-
-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Support for AWS Multi-Session in aws-extend-switch-roles #358
Comments
+1 please :) |
++ please |
+++ please |
++++ please |
@tilfin Just tried: it opened a new tab on the From this page, I tried to assume a role on another account
Since the page is opened with one of the “final” accounts using an assumed role, and not with the root account that has permissions to assume the “final” role, access is restricted. |
@QuentinBtd Thanks! It seems the root cause of this problem is that the AWS Management Console's multi-session feature now supports role chaining, which was not the case previously. This is not a problem, it's a specification change. |
unsure what else would need to be altered but this regex would need to change something like group2 is the 'new multi session' key looking at I'm unsure if the manifest.json match needs to be uplifted if it can't glob sub sub domains. i.e.
to
|
+1 please |
From: chrome-extension://jpmkfafbacpgapdghgdpembnojdlgkdl/updated.html AWS Extend Switch Roles - Update NoticeMulti-Session SupportSupport for the new AWS Management Console "Multi-Session" feature, enabling simultaneous sign-in to multiple AWS accounts in different browser tabs.
'Automatic tab grouping for multi-session' setting (Experimental, Supporters only)This feature automatically organizes tabs from the same AWS Management Console multi-session into tab groups. When a tab group is removed, the corresponding session will be automatically signed out.
To open a new tab in the same group:
6.0.0 New version!
|
@duttonw Thanks! The review has been completed and published on platforms other than Edge. |
Thanks you!
I'm curious (I'm not a dev): do you know if it could possible to execute the "assume role" action from tab with the allowed context to assume role without the user displaying this tab? |
I am hitting the error related to role chaining.
I understand how to avoid it, yet the workaround is less ergonomic than I would hope. This leads me to suspect I should configure aws-extend-switch-roles differently. We have:
We can assume-role into each environment account from the login account, but cannot (and have no reason to) assume-role from one env account to another. Suppose I want to view our QA account, the workflow is:
Am I thinking about this wrong? I understand it's attempting to role-chain, but is there a configuration to prevent this? So that, when I click the QA account, I'm taken to the QA account? It needs to assume-role from login to QA, not from PROD to QA. I know I can take extra steps to switch to a new session, switch that session into our login account, then switch from there to QA. If those steps are always necessary, then that's a bummer. Is there a better way? |
@cspotcode,
Which works fine for me. I just pin the first tab from our login/identity account and use that throughout the day to launch tabs for other accounts. I agree this is different and a bit more cumbersome than previously, but if I understand AWS's implementation of multi-session correctly, this is the best this plugin can do for now. |
also, once you have opened a 'session', you can open a new tab to that session on the normal aws user drop down menu. If you go back to 'standard' legacy console, it will give you a screen to choose which 'session' you wish to open instead. |
After writing this comment #358 (comment) I now understand what is happening. AWS Extend Roles works ok on the main session where I logged in originally but not on any of the sub-account sessions. Hope that makes it clearer. |
AWS has introduced Multi-Session support for the console, allowing users to open multiple sessions with different roles in the same browser.
Documentation: AWS Multi-Session Support
It would be great if the aws-extend-switch-roles tool could support this new feature, enabling seamless integration with the AWS console.
Goal:
Enhance aws-extend-switch-roles to support Multi-Session functionality, allowing users to efficiently manage multiple AWS roles simultaneously.
Benefits:
• Improved user experience by seamlessly managing multiple roles.
• Increased productivity by reducing role-switching delays.
• Full utilization of AWS’s new Multi-Session feature.
The text was updated successfully, but these errors were encountered: