Skip to content

Instantly share code, notes, and snippets.

@lielran
Last active October 8, 2017 06:59
Show Gist options
  • 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 [email protected] --user-attributes Name=family_name,Value=XXXX Name=email,[email protected] Name=given_name,Value=???? --temporary-password ?????
aws cognito-idp admin-update-user-attributes
--user-pool-id eu-west-xxxxxx
--username [email protected]
--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 [email protected] --user-attributes Name=family_name,Value=???? Name=email,[email protected] Name=given_name,Value=???? --password ?????
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment