AWS-IAM-Access-Keys-Extra
Severity: Medium
Description: This control ensures that no IAM users have more than one active access key. Access keys are long-term credentials for an IAM user or the AWS account root user. You can use access keys to sign programmatic requests to the AWS CLI or AWS API. User account should not allowed to have multiple access keys.
Remediation Steps:
Perform following to update IAM policy for IAM user :
Login to the AWS Management Console at https://console.aws.amazon.com.
Navigate to IAMÂ console.
In the navigation pane, click Users.
Click on the IAM user name that need to disable the access key for.
On the IAM user configuration page, select the Security Credentials tab.
In the Access Keys section, choose one access key that is less than 90 days old. This should be the only active key used by this IAM user to access AWS resources programmatically.
In the same Access Keys section, identify non-operational access keys (other than the chosen one) and deactivate it by clicking the Make Inactive link.
If receive the Change Key Status confirmation box, click Deactivate to switch off the selected key.
Important:
Test application(s) to make sure that the chosen access key is working.
Instead of immediate deletion, deactivating the key protect the accidental deletion of working key.
Reference:
CIS Amazon Web Services Foundations Benchmark v1.3.0 - 08-07-2020: Recommendation #1.13
Manage access keys for IAM users - AWS Identity and Access Management
Manage access keys for IAM users - AWS Identity and Access Management
Blue Hexagon Proprietary