This rule checks for adherence to Center for Internet Security (CIS) Recommendation 1.10, Ensure IAM password policy prevents password reuse.
You should set a password policy on your AWS account to specify complexity requirements and mandatory rotation periods for your IAM users’ passwords. You can use a password policy to do these things:
- Set a minimum password length.
- Require specific character types, including uppercase letters, lowercase letters, numbers, and non-alphanumeric characters.
- Allow all IAM users to change their own passwords.
- Require IAM users to change their password after a specified period of time (enable password expiration).
- Prevent IAM users from reusing previous passwords.
- Force IAM users to contact an account administrator when the user has allowed his or her password to expire.
Configure a strong password policy for your users so that they can’t reuse old passwords.
If you allow users to change their own passwords, require that they create strong passwords, that they rotate their passwords periodically, and don’t reuse old passwords. On the Account Settings page of the IAM console, you can create a password policy for your account. You can use the password policy to define password requirements, such as minimum length, whether it requires non-alphabetic characters, how frequently it must be rotated, and so on.