Skip to content

Instantly share code, notes, and snippets.

@lielran
Last active October 8, 2017 06:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lielran/db00f034e1aaf9a19f4f3fa6358b17cb to your computer and use it in GitHub Desktop.
Save lielran/db00f034e1aaf9a19f4f3fa6358b17cb to your computer and use it in GitHub Desktop.
Aws cognito cli's
aws cognito-idp admin-create-user --user-pool-id eu-west-1_?????? --username some@email.com --user-attributes Name=family_name,Value=XXXX Name=email,Value=SOME@EMAIL.com Name=given_name,Value=???? --temporary-password ?????
aws cognito-idp admin-update-user-attributes
--user-pool-id eu-west-xxxxxx
--username xxxxyyyy@exeample.com
--user-attributes Name=email_verified,Value=true
aws cognito-idp admin-get-user --user-pool-id eu-west-1_????????? --username EMAIL
aws cognito-idp sign-up --client-id COGNITO_CLIENT_ID --secret-hash HASH(EMAIL + CLIENT_ID) --username SOME@EMAIL.com --user-attributes Name=family_name,Value=???? Name=email,Value=SOME@EMAIL.com Name=given_name,Value=???? --password ?????
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment