-
Notifications
You must be signed in to change notification settings - Fork 90
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
[Feature Request] Support for populating aws config file #173
Comments
This will be very helpful! |
Yes please! I just raised a discussion around this topic: #224 As I understand it this involves calling |
I also want this feature. I have two different SSOs I need to log in through though, so I'd want granted to populate my profile from both accounts. I have no problem running two commands to accomplish that, just as long as I have a way to differentiate between the ssos. # Populate from my first sso, prefixing profiles with sso1-
$ granted sso populate --prefix sso1- <start url>
# Populate from my second sso, prefixing profiles with sso2-
$ granted sso populate --prefix sso2- <start url>
# Open a browser to the iam console on the Dev/Tooling account in sso1
$ assume -c -s iam sso1-Dev-Tooling-AdministratorAccess Thoughts anyone? |
I think the easiest way to fulfill the requirements (and the most minimal/unixy) would be to output all of the profiles to stdout. So just |
I see a stdout-generating command as valuable and not mutually exclusive with either profile name prefixing or automatic Perhaps one command is |
@tom-sherman I've taken your feedback into account and submitted a pull request #230. Here's hoping it works for everyone. |
Thanks @misterjoshua This is great to see added :) |
The one feature I am missing from being able to use granted as my only AWS SSO login tool is the ability to populate the full list of profiles I can access. I am currently using
aws-sso-util configure populate
for that. It would be great if it could be generated as part of granted's processes.The text was updated successfully, but these errors were encountered: