Created
November 18, 2018 15:07
-
-
Save mlabouardy/ba6fdcd9e6613c4408e9f63894cdd7ab to your computer and use it in GitHub Desktop.
Create and confirm a user on AWS Cognito
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Create a user | |
| aws cognito-idp sign-up -region AWS_REGION -client-id CLIENT_ID \ | |
| -username USERNAME -password PASSWORD -user-attributes Name=email,Value=EMAIL | |
| # Confirm sign up | |
| aws cognito-idp admin-confirm-sign-up -region AWS_REGION -user-pool-id USER_POOL \ | |
| -username USERNAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment