mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
34 lines
919 B
Plaintext
34 lines
919 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# aws cognito-idp
|
|
|
|
> Configure an Amazon Cognito user pool and its users and groups and authenticate them.
|
|
> More information: <https://docs.aws.amazon.com/cli/latest/reference/cognito-idp/>.
|
|
|
|
- Create a new Cognito user pool:
|
|
|
|
`aws cognito-idp create-user-pool --pool-name {{name}}`
|
|
|
|
- List all user pools:
|
|
|
|
`aws cognito-idp list-user-pools --max-results {{10}}`
|
|
|
|
- Delete a specific user pool:
|
|
|
|
`aws cognito-idp delete-user-pool --user-pool-id {{user_pool_id}}`
|
|
|
|
- Create a user in a specific pool:
|
|
|
|
`aws cognito-idp admin-create-user --username {{username}} --user-pool-id {{user_pool_id}}`
|
|
|
|
- List the users of a specific pool:
|
|
|
|
`aws cognito-idp list-users --user-pool-id {{user_pool_id}}`
|
|
|
|
- Delete a user from a specific pool:
|
|
|
|
`aws cognito-idp admin-delete-user --username {{username}} --user-pool-id {{user_pool_id}}`
|