1.8 Ensure IAM password policy requires minimum length of 14 or greater

Information

Password policies are, in part, used to enforce password complexity requirements. IAM password policies can be used to ensure passwords are at least a given length. It is recommended that the password policy require a minimum password length 14.

Setting a password complexity policy increases account resiliency against brute force login attempts.

Solution

Perform the following to set the password policy 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
- Set "Minimum password length" to 14 or greater.
- Click "Apply password policy"

From Command Line:

aws iam update-account-password-policy --minimum-password-length 14

Note: All commands starting with "aws iam update-account-password-policy" can be combined into a single command.

Impact:

Enforcing a minimum password length of 14 characters enhances security by making passwords more resistant to brute force attacks. However, it may require users to create longer and potentially more complex passwords, which could impact user convenience.

See Also

https://workbench.cisecurity.org/benchmarks/19631

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(1), CSCv7|16.1

Plugin: amazon_aws

Control ID: 0dde110f38b78a169c2ad78c97a58c113b81aad2b6835d9eb20084973a9f56d1