saml2aws-multi: a simple tool providing an easy-to-use command line interface for saml2aws
Kay
Posted on January 30, 2021
saml2aws-multi
is a simple tool I created for using saml2aws
more effectively on day-to-day tasks. saml2aws-multi
provides an easy-to-use command line interface to support login and retrieve AWS temporary credentials for multiple roles of different accounts with saml2aws
.
Example:
Usage
$ awslogin --help
Usage: awslogin [OPTIONS] COMMAND [ARGS]...
Get credentials for multiple accounts with saml2aws
Options:
-k, --keyword TEXT Pre-select roles with the given keyword(s)
-f, --profile-name-format [RoleName|RoleName-AccountAlias]
Profile name format [default: RoleName]
-r, --refresh-cached-roles [default: False]
-t, --session-duration TEXT Session duration in seconds
-d, --debug [default: False]
--help Show this message and exit.
Commands:
chained List chained role profiles specified in ~/.aws/config
switch Switch default profile
whoami Who am I?
For detailed instruction and source see kyhau/saml2aws-multi.
đź’– đź’Ş đź™… đźš©
Kay
Posted on January 30, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
githubcopilot AI Innovations at Microsoft Ignite 2024 What You Need to Know (Part 2)
November 29, 2024