tldr/pages.de/common/aws-google-auth.md

21 lines
808 B
Markdown
Raw Permalink Normal View History

2020-10-24 14:27:02 +01:00
# aws-google-auth
2021-03-25 16:42:04 +00:00
> CLI, um temporäre AWS credentials (STS) über Google Apps als Single Sign-On Dienstleister zu erhalten.
> Weitere Informationen: <https://github.com/cevoaustralia/aws-google-auth>.
2020-10-24 14:27:02 +01:00
- Einloggen mit Google SSO über IDP- und SP-Kennung für die Dauer einer Stunde:
2021-03-25 16:42:04 +00:00
`aws-google-auth -u {{beispiel@beispiel.com}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}}`
2020-10-24 14:27:02 +01:00
2021-03-25 16:42:04 +00:00
- Einloggen mit der Option eine Rolle auszuwählen (im Falle mehrerer verfügbarer SAML Rollen):
2020-10-24 14:27:02 +01:00
2021-03-25 16:42:04 +00:00
`aws-google-auth -u {{beispiel@beispiel.com}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}} -a`
2020-10-24 14:27:02 +01:00
2021-03-25 16:42:04 +00:00
- Löse Aliasse von AWS Accounts auf:
2020-10-24 14:27:02 +01:00
2021-03-25 16:42:04 +00:00
`aws-google-auth -u {{beispiel@beispiel.com}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}} -a --resolve-aliases`
2020-10-24 14:27:02 +01:00
2021-03-25 16:42:04 +00:00
- Zeige Hilfs-Informationen:
2020-10-24 14:27:02 +01:00
`aws-google-auth -h`