๐ก๏ธ AWS IAM User has more than one active access key๐ข
- Contextual name: ๐ก๏ธ User has more than one active access key๐ข
- ID:
/ce/ca/aws/iam/user-has-more-than-one-active-access-key - Tags:
- ๐ข Policy with categories
- ๐ข Policy with type
- ๐ข Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Logicโ
- ๐ง prod.logic.yaml๐ข
- ๐ AWS IAM User
- ๐ AWS IAM User - credReport.extracts.yaml
- ๐งช test-data.json
Similar Policiesโ
- Cloud Conformity: Unnecessary Access Keys
- Internal:
dec-x-30795016
Similar Internal Rulesโ
| Rule | Policies | Flags |
|---|---|---|
| โ๏ธ dec-x-30795016 | 1 |
Descriptionโ
Descriptionโ
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 (directly or using the AWS SDK).
Rationaleโ
One of the best ways to protect your account is to not allow users to have multiple access keys.
Auditโ
From Consoleโ
Sign in to the AWS Management Console and navigate to IAM dashboard at https://console.aws.amazon.com/iam/.
In the left navigation panel, choose
Users.Click on the IAM user name that you want to examine.
On the IAM user configuration page, select
Security Credentialstab.Under the
Access Keyssection, in the Status column, check the current status for each access key associated with the IAM user. If the selected IAM user has more than one access key activated, the user's access configuration does not adhere to security best practices and the risk of accidental exposure increases.
- Repeat steps no. 3-5 for each IAM user in your AWS account.
From Command Lineโ
... see more
Remediationโ
Remediationโ
From Consoleโ
- Sign in to the AWS Management Console and navigate to IAM dashboard at https://console.aws.amazon.com/iam/.
- In the left navigation panel, choose
Users.- Click on the IAM user name that you want to examine.
- On the IAM user configuration page, select the
Security Credentialstab.- In the
Access Keyssection, 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. Test your application(s) to make sure that the chosen access key is working.- In the same
Access Keyssection, identify your non-operational access keys (other than the chosen one) and deactivate them by clickingMake Inactive.- If you receive the
Change Key Statusconfirmation box, clickDeactivateto switch off the selected key.- Repeat steps no. 3-7 for each IAM user in your AWS account.
From Command Lineโ
- Using the IAM user and access key information provided in the
Audit CLI, 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. Test your application(s) to make sure that the chosen access key is working.... see more