CIS Amazon Web Services Foundations Benchmark v1.2.0/Identity and Access Management/3 of 49
1.3Ensure credentials unused for 90 days or greater are disabled
Control family: Identity and Access Management
Control description
AWS IAM users can access AWS resources using different types of credentials, such as passwords or access keys. It is recommended that all credentials that have been unused in 90 or greater days be removed or deactivated.
How to implement
ResponsibilityCustomerYou configure and operate this in your own cloud accounts.
A password or access key that nobody has used for three months is a door left open for no reason. Unused console passwords are removed and unused access keys are deactivated, so a forgotten credential can't be picked up by someone else. The check runs regularly, not just once.
Before you start
The same on every cloud, before the steps in the tabs.
- Agree the inactivity limit (90 days or less) and who checks with each owner before a credential is switched off.
- Schedule the review (monthly or quarterly) and name who runs it.
Evidence
- The credential review procedure and the record of each review
Not applicable. This benchmark covers AWS only.
On AWS the tasks find stale credentials in the credential report, switch them off in IAM, and add the AWS Config rule that flags anything idle for 90 days.
Task 1Find passwords and keys unused for 90 days
- Sign in to the AWS Management Console at console.aws.amazon.com and open IAM.
- Choose Credential report and then Download Report.
- Flag users whose password_last_used is older than 90 days, or N/A for a password set more than 90 days ago.
- Flag access keys whose access_key_1_last_used_date or access_key_2_last_used_date is older than 90 days, or N/A for a key issued more than 90 days ago.
- Ask each owner whether the credential is still needed before you switch it off.
Task 2Switch off the stale credentials
- In IAM, choose Users and open a flagged user.
- On the Security credentials tab, under Console sign-in, choose Manage console access, select Disable and choose Apply.
- Under Access keys, for each stale key choose Actions > Deactivate and confirm.
- After a waiting period with no complaints, delete the deactivated keys with Actions > Delete.
- Check it: in a fresh credential report the user shows password_enabled false and the key's active column false.
Task 3Keep it checked with the AWS Config rule iam-user-unused-credentials-check
- Open AWS Config in the Region where you record global resources such as IAM, and choose Rules > Add rule.
- On Specify rule type, search for iam-user-unused-credentials-check, select it and choose Next.
- On Configure rule, under Parameters, set maxCredentialUsageAge to 90, then choose Next.
- On Review and create, check the settings and add the rule.
- Check it: once the rule has finished Evaluating..., the Rules page shows it as compliant; open the rule to see any resource that fails.
Evidence
- The credential report, showing no password or active key unused for more than 90 days
- The iam-user-unused-credentials-check rule with maxCredentialUsageAge 90, showing all users compliant
- Security Hub CSPM control IAM.8, showing passed
Not applicable. This benchmark covers AWS only.
Console steps as of 5 November 2026. Not every step has been confirmed in a live console yet, and menus and labels can move between releases, so look for the nearest match if one has changed.