Remediation
Perform the following to delete access keys that do not pass the audit:
From Consoleโ
- Log in to the AWS Management Console.
- Click
Services. - Click
IAM. - Click on
Users. - Click on
Security Credentials. - As an Administrator:
- Click on the X (
Delete) for keys that were created at the same time as the user profile but have not been used.
- Click on the X (
- As an IAM User:
- Click on the X (
Delete) for keys that were created at the same time as the user profile but have not been used.
- Click on the X (
From Command Lineโ
aws iam delete-access-key --access-key-id {{access-key-id-listed}} --user-name {{user-name}}