-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathaws-google-auth
More file actions
20 lines (11 loc) · 801 Bytes
/
aws-google-auth
File metadata and controls
20 lines (11 loc) · 801 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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>.
- Login with Google SSO using the IDP and SP identifiers and set the credentials duration to one hour:
aws-google-auth -u {{example@example.com}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}}
- Login [a]sking which role to use (in case of several available SAML roles):
aws-google-auth -u {{example@example.com}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}} -a
- Resolve aliases for AWS accounts:
aws-google-auth -u {{example@example.com}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}} -a --resolve-aliases
- Show help information:
aws-google-auth -h