Oct 262022
 

If you use AWS and want to change the password from CLI (or automated) you can easily do this using the “aws iam change-password” command as referenced here.

Just

aws iam change-password --generate-cli-skeleton > change-password.json
notepad change-password.json
aws iam change-password --cli-input-json file://change-password.json