saml2aws

Login to AWS and retrieve temporary credentials via SAML IDP

brewmacoslinux
Try with needOr install directly
Source

About

Login and retrieve AWS temporary credentials using a SAML IDP

Commands

saml2aws

Examples

Configure a new SAML2AWS profile with your IDP$ saml2aws configure --profile myprofile
Login and fetch temporary AWS credentials$ saml2aws login --profile myprofile
Execute AWS CLI command with temporary credentials$ eval $(saml2aws login --profile myprofile --exec-profile myprofile) && aws s3 ls