IAM password policy does not enforce password expiry of 90 days or less

Severity
Low
Service
IAM
Check ID
PASSWORD_POLICY_MAX_AGE

What this check finds

Without a maximum password age, IAM user passwords are valid indefinitely. Long-lived passwords increase the window of exposure if a password is compromised or leaked.

Passing looks like: Password policy enforces expiry within 90 days.

How to fix it

Set a maximum password age of 90 days or less.

AWS CLI

  1. aws iam update-account-password-policy --max-password-age 90

Names in capitals are placeholders for your own resource. Review a command before you run it.

AWS console

IAM → Account settings → Edit password policy → Maximum password age.

Compliance controls it is evidence for

A failing result counts against these controls in KloudLytics; a passing one is evidence towards them. How compliance mapping works

Compliance controls mapped to IAM password policy does not enforce password expiry of 90 days or less
FrameworkControls
PCI-DSS v4.0.1
  • 8.3.6 Passwords/passphrases meet minimum complexity requirements
SOC 2 — Trust Services Criteria
  • CC5.2 The entity selects and develops control activities over technology
NIST SP 800-53 Rev5 (Moderate)
  • IA-5 Authenticator Management
NIST Cybersecurity Framework 2.0
  • PR.AA-01 Identities and credentials are managed
ISO/IEC 27001:2022 Annex A
  • A.5.17 Authentication information

Checked on every scan

KloudLytics runs this check each time it scans a connected AWS account, through a read-only role, and lists every affected resource with its region. On Pro and Business a fix is written for the specific resource rather than the general case above. The exact access it needs

More IAM checks

All IAM checks

Find out what is actually exposed in your AWS environment.

Connect one AWS account and run your first security assessment.

No credit card · Agentless · Read-only