System Grab Bag

View all TLDR pages from common (or from all pages)

aws-google-auth

Command-line tool to acquire AWS temporary (STS) credentials using Google Apps as a federated (Single Sign-On) provider. More information: https://github.com/cevoaustralia/aws-google-auth.
  • Log in with Google SSO using the IDP and SP identifiers and set the credentials duration to one hour:
    aws-google-auth -u {{[email protected]}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}}
  • Log in [a]sking which role to use (in case of several available SAML roles):
    aws-google-auth -u {{[email protected]}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}} -a
  • Resolve aliases for AWS accounts:
    aws-google-auth -u {{[email protected]}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}} -a --resolve-aliases
  • Show help information:
    aws-google-auth -h

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.