Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Delete access keys for the root user

Focus mode
Delete access keys for the root user - AWS Identity and Access Management

You can use the AWS Management Console, the AWS CLI or the AWS API to delete the root user access keys.

AWS Management Console
To delete an access key for the root user
Minimum permissions

To perform the following steps, you must have at least the following IAM permissions:

  • You must sign in as the AWS account root user, which requires no additional AWS Identity and Access Management (IAM) permissions. You can't perform these steps as an IAM user or role.

  1. Open the AWS Management Console and sign in using your root user credentials.

    For instructions, see Sign in to the AWS Management Console as the root user in the AWS Sign-In User Guide.

  2. In the upper right corner of the console, choose your account name or number and then choose Security Credentials.

  3. In the Access keys section, select the access key that you want to delete, and then, under Actions, choose Delete.

    Note

    Alternatively, you can Deactivate an access key, instead of permanently deleting it. This way you can resume using it in the future without having to change either the key ID or secret key. While the key is inactive, any attempts to use it in requests to the AWS API fail with the error access denied.

  4. On the Delete <access key ID> dialog box, choose Deactivate, enter the access key ID to confirm you want to delete it, and then choose Delete.

AWS CLI & SDKs
To delete an access key for the root user
Minimum permissions

To perform the following steps, you must have at least the following IAM permissions:

  • You must sign in as the AWS account root user, which requires no additional AWS Identity and Access Management (IAM) permissions. You can't perform these steps as an IAM user or role.

To delete an access key for the root user
Minimum permissions

To perform the following steps, you must have at least the following IAM permissions:

  • You must sign in as the AWS account root user, which requires no additional AWS Identity and Access Management (IAM) permissions. You can't perform these steps as an IAM user or role.

  1. Open the AWS Management Console and sign in using your root user credentials.

    For instructions, see Sign in to the AWS Management Console as the root user in the AWS Sign-In User Guide.

  2. In the upper right corner of the console, choose your account name or number and then choose Security Credentials.

  3. In the Access keys section, select the access key that you want to delete, and then, under Actions, choose Delete.

    Note

    Alternatively, you can Deactivate an access key, instead of permanently deleting it. This way you can resume using it in the future without having to change either the key ID or secret key. While the key is inactive, any attempts to use it in requests to the AWS API fail with the error access denied.

  4. On the Delete <access key ID> dialog box, choose Deactivate, enter the access key ID to confirm you want to delete it, and then choose Delete.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.