Skip to content
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 Account Number to Session List #536

Open
cdelcastillo opened this issue Mar 5, 2024 · 1 comment
Open

Add Account Number to Session List #536

cdelcastillo opened this issue Mar 5, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@cdelcastillo
Copy link

cdelcastillo commented Mar 5, 2024

Is your feature request related to a problem? Please describe.
When I receive messages from AWS, they often reference the Account by the Account ID.
It would be great if that information is available in the Session list.

Describe the solution you'd like
I envision the Session list having an Account ID column or a subscript under the session name.

Describe alternatives you've considered
I keep my corporate AWS Single SignOn available which shows me this information.

Additional context
Here's a screenshot of what I am envisioning:
accountID_example
Either a column with the Account ID or as in example #3 under the Session name.

@cdelcastillo cdelcastillo added the enhancement New feature or request label Mar 5, 2024
@siipimutteri
Copy link

siipimutteri commented Sep 12, 2024

I missed this feature and started working on it.
https://github.com/siipimutteri/siipimutteri-leapp/tree/536_accountid_to_sessionlist

I added column for it just like in your screenshot, but the text is currently formatted like named profile (not orange)

Works:

  • Account Id for awsSsoRol, awsIamRoleChained and awsIamRoleFederated
  • Sorting
  • Hiding the column
  • Copying the Account Id just like with Named profile

TODO:

  • Decide whether to include it in compact view and how to make it fit
  • CSS optimizations
  • Tests
  • Fetch Account Id for awsIamUser (should be done with sts get-caller-identity when session is added)
  • Parse Account Id for awsIamRoleFederated
  • What to get for Azure, tenantId?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants