CmdID

CmdID / Commands

aws-cognito-idp

Configure an Amazon Cognito user pool and its users and groups and authenticate them. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Create a new Cognito user pool

aws cognito-idp create-user-pool --pool-name nameIdentify
--pool-nameA friendly name for your user pool. AWS CLI reference

List all user pools

aws cognito-idp list-user-pools --max-results 10Identify
--max-resultsThe maximum number of user pools that you want Amazon Cognito to return in the response. AWS CLI reference

Delete a specific user pool

aws cognito-idp delete-user-pool --user-pool-id user_pool_idIdentify
--user-pool-idThe ID of the user pool that you want to delete. AWS CLI reference

Create a user in a specific pool

aws cognito-idp admin-create-user --username username --user-pool-id user_pool_idIdentify
--usernameThe value that you want to set as the username sign-in attribute. AWS CLI reference
--user-pool-idThe ID of the user pool where you want to create a user. AWS CLI reference

List the users of a specific pool

aws cognito-idp list-users --user-pool-id user_pool_idIdentify
--user-pool-idThe ID of the user pool where you want to display or search for users. AWS CLI reference

Delete a user from a specific pool

aws cognito-idp admin-delete-user --username username --user-pool-id user_pool_idIdentify
--usernameThe name of the user that you want to query or modify. AWS CLI reference
--user-pool-idThe ID of the user pool where you want to delete the user. AWS CLI reference