# 1.3 Ensure no 'root' user account access key exists (Automated)

- Source: https://support.icompaas.com/support/solutions/articles/62000234162-1-3-ensure-no-root-user-account-access-key-exists-automated-
- Section: [Solutions](https://support.icompaas.com/support/solutions) › [CIS Amazon Web Services Foundations Benchmark v5.0.0](https://support.icompaas.com/support/solutions/62000112684) › [CIS AWS Benchmarks](https://support.icompaas.com/support/solutions/folders/62000169233)
- Last updated: 2026-05-29
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

#### Profile Applicability

-   **Level 1**
    

#### Description:

The root user account in AWS is the most privileged user and should not have access keys configured. Access keys are used to interact programmatically with AWS services via the AWS CLI, SDKs, or the API. By disabling or removing access keys for the root user, you reduce the risk of these highly privileged credentials being compromised or misused.

#### Rationale:

The root user account is inherently powerful and unrestricted. If the root user has an access key, an attacker or unauthorized individual who gains access to it can perform any action within the AWS account. Best practices recommend using IAM users with restricted permissions for programmatic access, and only using the root user for account setup and critical tasks that require root-level access.

Removing the root user's access keys mitigates the risk of unauthorized access to the account using those keys.

#### **Impact:**

If the root user's access keys are not removed:

-   Compromise of the root access keys could lead to complete control over the AWS account
    
-   Increased exposure to attacks such as privilege escalation and data exfiltration
    
-   Unauthorized API access and manipulation of AWS resources  
    

#### Default Value:

AWS does not automatically create access keys for the root user; they must be manually created. If the root user account is used to generate access keys, it is a misconfiguration and should be remediated.

#### Pre-Requisites:

-   AWS CLI installed and configured (for command-line operations)
    
-   IAM permissions for iam:ListAccessKeys and iam:DeleteAccessKey
    
-   Access to the [AWS Management Console](https://console.aws.amazon.com/)
    

#### Remediation:

##### Test Plan:

Using AWS Console:

1.  Sign in to the AWS Management Console with a user that has appropriate IAM permissions
    
2.  Navigate to the IAM Console
    
3.  In the left pane, select Users
    
4.  Search for the root user account
    
5.  Under the Security credentials tab, confirm that there are no Access Keys listed for the root user
    

Using AWS CLI:

aws iam list-access-keys --user-name root

Ensure the list is empty or does not contain any keys for the root user.

##### Implementation Plan:

Using AWS Console:

1.  Sign in to the AWS Management Console with a user that has appropriate IAM permissions
    
2.  Go to the IAM Console
    
3.  In the left pane, choose Users
    
4.  Locate the root user and select the Security Credentials tab
    
5.  Under Access Keys, if any exist, click Delete to remove the root user's access keys
    
6.  Save changes and ensure no keys are present
    

Using AWS CLI:

aws iam delete-access-key --access-key-id <AccessKeyId>

Repeat for any other root access keys identified.

#### Backout Plan:

There is no direct backout for the removal of root user access keys. However, if a key was deleted by mistake:

1.  You would need to manually create a new access key for the root user (not recommended) via the AWS Console or CLI
    

aws iam create-access-key --user-name root

2.  It’s recommended that new access keys are only created if absolutely necessary and should be tightly controlled.
    

#### References:

-   [AWS: IAM Best Practices  
    ](https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html#root-user-policy)
    
-   [AWS Docs: Manage Access Keys  
    ](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html)
    
-   [AWS CLI: List Access Keys  
    ](https://docs.aws.amazon.com/cli/latest/reference/iam/list-access-keys.html)
    

#### CIS Controls Mapping:

<table style="border:none;border-collapse:collapse"><tbody><tr style="height:38.5pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:700;font-family:&quot;Helvetica Neue&quot;">CIS Control Version</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:700;font-family:&quot;Helvetica Neue&quot;">Control ID</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:700;font-family:&quot;Helvetica Neue&quot;">Control Description</span></span></span></p></td></tr><tr style="height:38.5pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">CIS v8</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">5.3</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">Ensure that multi-factor authentication (MFA) is enabled for all privileged users</span></span></span></p></td></tr><tr style="height:25pt"><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">CIS v7</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">4.6</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;text-align:justify"><span style="font-family:&quot;Helvetica Neue&quot;;font-size:14px"><span dir="ltr" style="color:rgb(0, 0, 0);font-weight:400">Ensure Access Keys for the Root User are Disabled</span></span></p></td></tr></tbody></table>

## Related compliance guidance

- [SOC 2 compliance: a practical implementation guide for cloud-native SaaS teams](https://support.icompaas.com/compliance/soc-2-trust-services-criteria): Configuration checks like this one are the technical half of a SOC 2 / ISO 27001 programme — the guide shows where they fit, what else an auditor expects, and how to evidence them.
- [ISO/IEC 27001:2022 compliance: a practical implementation guide](https://support.icompaas.com/compliance/iso-27001-2022): ISO 27001 Annex A.8 (technological controls) is where cloud hardening evidence lands; the guide shows how to run the ISMS around it.
