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

[proposal] Allowing to list role names assigned to user #186

Open
ken5scal opened this issue Apr 22, 2021 · 7 comments
Open

[proposal] Allowing to list role names assigned to user #186

ken5scal opened this issue Apr 22, 2021 · 7 comments
Labels
enhancement New feature or request

Comments

@ken5scal
Copy link

assam allows to specify role to be assumed by specifying --role option.
It is a great feature especially when users are assigned with multiple roles.
But, It is even better if the we get a list of roles, just like GUI.

image

So, I would like to propose adding a option or subcommands, that allow to list roles associated with profile like following:

assam list-roles --profile test

Let me know this was something fit to this OSS.

Thanks in advance.

@miyajan
Copy link
Contributor

miyajan commented Apr 23, 2021

@ken5scal
Thank you for the suggestion of the new feature. In order for us to consider whether to add this feature to assam, can you tell us what specific use cases you are having trouble with?

Thanks!

@ken5scal
Copy link
Author

@miyajan Thank you for the response.

We usually assign read only role for daily maintenance; however in case of emergency, they may need to adjust some parameters in AWS resources like manually failovering the target group and so on.

In such case, maintenars may not know of exact name of assigned role. Of course, they may ask helps from other colleagues or just read manual; however, allowing them to know their roles enable them to assume-role much quicker and efficiently.

Thanks in advance.

@korosuke613
Copy link
Member

korosuke613 commented Apr 27, 2021

@ken5scal
May I ask you an additional question?

We use the following:

However, are you using the following?

So, do you want to list Role A, Role B, and Role C?

Thanks.

@ken5scal
Copy link
Author

ken5scal commented May 1, 2021

@korosuke613 Thanks for clearing the point with the picture.
That is correct. We do SSO from single Azure AD to multiple AWS IAM roles.

@miyajan
Copy link
Contributor

miyajan commented May 6, 2021

@ken5scal
We have a different use case for the issue, so it is difficult for us to maintain this feature ourselves.

If you can contribute to the implementation and troubleshooting, we can accept that. Is it possible for you to make such contributions?

@ken5scal
Copy link
Author

sure thing! @miyajan

@ganta ganta added the enhancement New feature or request label May 17, 2021
@miyajan
Copy link
Contributor

miyajan commented May 17, 2021

@ken5scal Thank you! Your PR is welcome!

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

4 participants