Skip to content

Support for SAML authentication to get temporary credentials #3912

@rebtelmiguel

Description

@rebtelmiguel

In my company we use GSuite as main Identity provider, having SAML integration to our AWS accounts, but this is limited to access to the console.

Currently we use temporary credentials for console login and CLI even for CodeCommit, which we retrieve using a 3rd party library (python and GO libs, such as saml2aws and samlapi) to execute the auth and retrieve of the keys stored in ~/.aws/credentials

Another issue (3447) already requests this type of auth but for AWS SSO only. Maybe it could be implemented something more broad.

Please use as reference this session from Quint Van Deman in AWS re:Invent 2018, where he uses this type of approach. https://youtu.be/vbjFjMNVEpc?t=1238

A known issue with the libraries I mentioned (samlapi and saml2aws) is that they parse the HTML of the response. Initially they didn’t support Captcha (in case Google would trigger), and now they have problems with Google Titan Keys.

Also for reference, the Snowflake authentication through CLI can use an external browser pointing to the IDP. With that approach, any kind of MFA or extra security handling will be covered by them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    closing-soonThis issue will automatically close in 4 days unless further comments are made.guidanceQuestion that needs advice or information.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions