- Newest
- Most votes
- Most comments
Thank you for the detailed feedback about the misleading error message during password rotation. You've identified a genuine usability issue in the IAM password change flow that can cause confusion for users.
You're correct that AWS account password policies can enforce various requirements including minimum password length (with a default of 14 characters), character complexity requirements (uppercase, lowercase, numbers, and symbols), password reuse prevention (preventing reuse of a configurable number of previous passwords, with a default of 24), and maximum password age (with a default of 90 days).
When a user's password expires or is approaching expiration and they're prompted to change it, the system should clearly distinguish between authentication failures (incorrect old password) and policy validation failures (new password doesn't meet requirements). The current error message you're experiencing - which suggests the old password is incorrect when it was just successfully used for authentication - is indeed misleading and creates unnecessary troubleshooting burden.
While I can confirm that AWS password policies support all the requirements you mentioned (minimum length, character class requirements, reuse prevention, and expiration periods), I cannot directly address product feature requests or confirm planned changes to error messaging in the AWS Console.
For issues like this that affect the user experience of AWS services, I'd recommend:
- Submitting feedback through the AWS Console feedback mechanism
- Working with AWS Support to file a feature request
- Engaging with your AWS account team if you have one
Your detailed reproduction steps and clear explanation of the expected versus actual behavior make this excellent feedback for the service team. The distinction between authentication errors and policy validation errors is an important one, especially during security-sensitive operations like password changes, and clearer error messaging would benefit all IAM users subject to password policies.
Sources
iam-password-policy - AWS Config
get_account_password_policy - Boto3 1.42.50 documentation
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
