Versent / saml2aws

CLI tool which enables you to login and retrieve AWS temporary credentials using a SAML IDP
https://github.com/Versent/saml2aws
MIT License
2.04k stars 556 forks source link

AWS SSO? #278

Open asyschikov opened 5 years ago

asyschikov commented 5 years ago

Can I use saml2aws to authenticate via AWS SSO?

rdkls commented 5 years ago

@asyschikov did you find out? Looks like AWS SSO supports only getting creds interactively via console? https://aws.amazon.com/blogs/security/aws-single-sign-on-now-enables-command-line-interface-access-for-aws-accounts-using-corporate-credentials/

lskrajny commented 5 years ago

Is there anyway to make it work from the CLI, preferably with saml2aws. Logging to a website is not very handy.

Thanks

urz9999 commented 3 years ago

Maybe you can give a try to our open-source project: https://github.com/Noovolari/leapp. It deals with AWS SSO authentication and accounts/roles retrieval then it creates short-lived temporary credentials in .aws/credentials to maximize compatibility with third party tools / sdks.

mcg commented 3 years ago

Our current AzureAD env is getting changed to AWS SSO, found this old issue. Any progress on this?

blimmer commented 2 years ago

I noticed that aws-vault has support for this - I'm not sure if comparing their implementation might be helpful: https://github.com/99designs/aws-vault/blob/master/USAGE.md#aws-single-sign-on-aws-sso

mtahaahmed commented 1 month ago

Any hope for this feature?