Log in with Google SSO using the IDP and SP identifiers and set the credentials duration to one hour

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>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

aws-google-auth -u {{[email protected]}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}}

click the source code to copy