CmdID / aws / aws cognito-idp
aws cognito-idp admin-set-user-password
Sets the specified user's password in a user pool. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--passwordThe new temporary or permanent password that you want to set for the user.--permanentSet to true to set a password that the user can immediately sign in with.--user-pool-idThe ID of the user pool where you want to set the user's password.--usernameThe name of the user that you want to query or modify.