Skip to content

Instantly share code, notes, and snippets.

@tarasowski
Last active July 18, 2018 09:18
Show Gist options
  • Save tarasowski/453b63c7bbfe1ca3240a23366f0a5ea8 to your computer and use it in GitHub Desktop.
Save tarasowski/453b63c7bbfe1ca3240a23366f0a5ea8 to your computer and use it in GitHub Desktop.
#Cognito - Adding New User
$ aws cognito-idp admin-create-user --user-pool-id eu-west-1_Ez3lS4Q8O --username [email protected] --user-attributes file://cognito-create-user.json
[
  {
    "Name": "name",
    "Value": "Dimitri"
  },
  {
    "Name": "family_name",
    "Value": "Tarasowski"
  },
  {
    "Name": "preferred_username",
    "Value": "testcompany"
  }
  
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment