Description
IAM password policies can prevent the reuse of a given password by the same user. It is recommended that the password policy prevent the reuse of passwords.
Rationaleβ
Preventing password reuse increases account resiliency against brute force login attempts.
Auditβ
Perform the following to ensure the password policy is configured as prescribed:
From Consoleβ
- Login to AWS Console (with appropriate permissions to View Identity Access Management Account Settings).
- Go to IAM Service on the AWS Console.
- Click on
Account Settings
on the Left Pane. - Ensure
Prevent password reuse
is checked. - Ensure
Number of passwords to remember
is set to24
.
From Command Lineβ
- Run the following command:
aws iam get-account-password-policy
Ensure the output of the above command includes "PasswordReusePrevention": 24
.