author avatar

adithya.hebbar

Mon Nov 04 2024

To update a user’s password in AWS Cognito and set it as permanent, we can use the AWS CLI with the following admin command:


aws cognito-idp admin-set-user-password \
    --user-pool-id <pool-id> \
    --username <cognito-username> \
    --password <password> \
    --permanent


#auth #aws #cognito