Root Account Access Key Management

Last updated: 2021-03-29 10:58:31

    Overview

    This document describes how to create, enable/disable, delete, and view API keys of the root account.

    Prerequisites

    You have logged in to the API Key Management page in the CAM console as the root account.

    Directions

    Creating an API key for a root account

    You can create an API key for a root account. After the API key is created, the root account can use APIs, SDKs, or other development tools to manage the resources under the account.
    Click Create Key on the left of the API Key Management page, as shown below:

    Note:

    • One root account can create up to 2 API keys.
    • The root account API key represents your account identity and granted permissions, which is equivalent to your login password. Do not disclose it to others.
    • An API key is an important credential for creating Tencent Cloud API requests. To keep your assets and services secure, store your keys appropriately, change them regularly, and delete old keys after creating new ones.

    Viewing an API key of a root account

    You can view and copy the SecretId and SecretKey of the API key of the root account. You can use the SecretId and SecretKey to use APIs, SDKs, or other developer tools to manage resources under the account.

    1. Enter the API Key Management page. You can directly view and copy the SecretId from the Key column.
    2. Click Show in the "Key" column. You can get and copy the SecretKey after completing identity verification.

    Disabling/enabling root account API key

    You can disable an API key of the root account. Tencent Cloud will block all requests that use the API key after it is disabled.

    1. Click Disable in the API Key Management page.
    2. In the pop-up window, click Confirm to disable the access key.

    Note:

    You can click Enable in the "Operation" column to enable the key. After the key is enabled, you can use APIs, SDKs, or other developer tools to manage the resources under the account.

    Deleting root account API key

    1. Click Disable in the API Key Management page. If the target API key was disabled, you can directly perform step 3.
    2. In the pop-up window, click Disable.
    3. On the API Key Management page, click Delete in the "Operation" column.
    4. In the pop-up window, click Delete.

    Note:

    Please note that a deleted API key cannot be retrieved.

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help