Remediation
Perform the following to delete active root
user access keys.
From Consoleβ
- Sign in to the AWS Management Console as
root
and open the IAM console at https://console.aws.amazon.com/iam/. - Click on
<root_account>
at the top right and selectMy Security Credentials
from the drop down list. - On the pop out screen Click on
Continue to Security Credentials
. - Click on
Access Keys
(Access Key ID and Secret Access Key). - If there are active keys, under
Status
, clickDelete
(Note: Deleted keys cannot be recovered).
Note: While a key can be made inactive, this inactive key will still show up in the CLI command from the audit procedure, and may lead to a key being falsely flagged as being non-compliant.