0.5.2 • Published 3 years ago

aws-saml-login v0.5.2

Weekly downloads
4
License
ISC
Repository
github
Last release
3 years ago

aws-saml-login

Utility to help with AWS credential management via SAML. This uses puppeteer and chromium to go to a user specified login url. After following all redirects and allowing the user to login, it will intercept the SAMLResponse and make a call to Amazon STS to get temporary credentials. These can then be used via the AWS profiles feature.

Install

$ npm install -g aws-saml-login

Usage

Usage: aws-saml-login [options] <login_url>

A simple cli utility to get temporary AWS credentials via a SAML endpoint

Options:
  -V, --version                 output the version number
  -b, --basic_auth              use basic auth from the cli to login, this will run the browser in
                                headless mode
  -d, --duration <secs>         session duration in seconds (default: "3600")
  -p, --profile <profile_name>  default profile to use
  -r, --refresh <profile_name>  attempts to refresh an existing profile using config options saved
                                in "~/.config/aws-saml-login/config".  Will create the entry if it
                                does not exist.

  -a, --role_arn <role_arn>     role ARN to login as
  -h, --help                    display help for command
0.5.2

3 years ago

0.4.0

3 years ago

0.3.3

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago

0.0.0

5 years ago