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

Information

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

Setting a password policy with sufficient length requirements increases account resilience 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
- Select Account Settings on the Left Pane
- Set "Minimum password length" to 14 or greater
- Select "Apply password policy"

From Command Line:

- Run the following command:

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

Note: 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 passwords, which could impact user convenience.

See Also

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

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

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

Plugin: amazon_aws

Control ID: 8bc04cd2c3553c00c5f5d5fa286577f6eaca411f7936eebcaf209a136010a804