From 3b0dd3b7054082d10eb41a96812cbc3a0c96ad27 Mon Sep 17 00:00:00 2001 From: Jeremy Stott Date: Tue, 16 Apr 2019 22:20:15 +1200 Subject: [PATCH] Added aws cognito example --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index bd2540a..dcae344 100644 --- a/README.md +++ b/README.md @@ -44,3 +44,13 @@ Now you can use the AWS cli as normal, and specify the profile: "Account": "892845094662", "Arn": "arn:aws:sts::892845094662:assumed-role/onelogin-test-oidc/50904038" } + +## AWS Cognito + + ./aws-oidc exec \ + --provider_url=https://cognito-idp.us-west-2.amazonaws.com/us-west-2_eBYNmnpS9 \ + --client_id=70kdnvprlqf1daspkn0iikdngv \ + --pkce \ + --nonce \ + --no-reauth \ + -- open -b com.google.chrome -n --args --profile-directory=Default {}