CmdID / aws / aws cognito-idp
aws cognito-idp forgot-password
Sends a password-reset confirmation code to the email address or phone number of the requested username. AWS CLI reference
6 options Its page in the AWS CLI reference
Options
--analytics-metadataInformation that supports analytics outcomes with Amazon Pinpoint, including the user's endpoint ID.--client-idThe ID of the user pool app client associated with the current signed-in user.--client-metadataA map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.--secret-hashA keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message.--user-context-dataContextual data about your user session like the device fingerprint, IP address, or location.--usernameThe name of the user that you want to query or modify.