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

'Copy Account Number' not working for IAM User sessions #172

Closed
tgjohnst opened this issue Sep 22, 2021 · 2 comments
Closed

'Copy Account Number' not working for IAM User sessions #172

tgjohnst opened this issue Sep 22, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@tgjohnst
Copy link

tgjohnst commented Sep 22, 2021

Describe the bug
When I attempt to use the Copy Account Number action from the session dropdown menu for an IAM User profile, nothing is added to the clipboard despite a message that the copy was successful.

To Reproduce

  1. Add an AWS session with the IAM User access method via AWS -> IAM User and entering access + secret keys
  2. Use the dropdown menu for that profile and select Copy Account Number, either while the account is active or from the bulk list of sessions
  3. A message will appear saying "Information copied! Your information have been successfully copied!"
  4. Try to paste into any other application, but the clipboard has not been updated

Expected behavior
Expected behavior is that this action should add an account number associated with that IAM user to the clipboard. Otherwise, if IAM User profiles are not meant to have the 'Copy Account Number' functionality, this option should either be excluded from the dropdown menu (similar to 'Copy Role ARN', which does not show up for IAM sessions) or the popup message should not indicate that information has been successfully copied

Desktop (please complete the following information):
Leapp 0.6.2 running on MacOS 11.6 (Big Sur) on an M1 mac

Screenshots
image

Additional context
The Copy Account Number functionality works fine for all other AWS SSO sessions I am using, so this problem appears to be specific to IAM user sessions.

@tgjohnst tgjohnst added the bug Something isn't working label Sep 22, 2021
@tgjohnst
Copy link
Author

Thank you @urz9999 for such a fast fix!!

@urz9999
Copy link
Contributor

urz9999 commented Sep 24, 2021

No problem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants