Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aws
GitHub Repository: aws/aws-cli
Path: blob/develop/awscli/examples/cognito-idp/admin-enable-user.rst
1567 views
**To enable sign-in by a user**

The following ``admin-enable-user`` example enables sign-in by the user [email protected]. ::

    aws cognito-idp admin-enable-user \
        --user-pool-id us-west-2_EXAMPLE \
        --username [email protected]

For more information, see `Managing users <https://docs.aws.amazon.com/cognito/latest/developerguide/managing-users.html>`__ in the *Amazon Cognito Developer Guide*.