3 ms·
Why can't the CLI generate the config if I can see all the accounts and roles in the SSO start page? That's a desperately needed feature. I would love to see a
by thedougd 4y ago
Why can't the CLI generate the config if I can see all the accounts and roles in the SSO start page? That's a desperately needed feature.
I would love to see a browser extension for SSO account tabs if AWS can't solve it natively.
- pid-1 4y ago`aws configure sso` does that, but: 1 - You need to do that with each account / role pair 2 - It gives profiles very long names by default (<role>-<account_number>) 3 - It does not set $AWS_PROFILE, so you need to pass `<...> --profile <...>` manually So the code is actually there already, they just need to make the experience better.
- thedougd 4y agoI imagine most are like me and after doing this once or twice falls back to a text editor.
- lapser 4y agoDepending on your SSO provider, you can list all the roles using saml2aws[0] and then parse the output so you can generate the relavant config. It is a bit tedious, but it works. [0] https://github.com/Versent/saml2aws/ https://github.com/Versent/saml2aws/
- thayne 4y agoAnother complaint I have is that afaik none of the SDKs have any kind of API for SSO login.