Access key of main account

Last updated: 2020-02-17 14:49:33

PDF

Operation scene

This document describes how to create, disable / enable, delete API keys and view API key information for a primary account.

prerequisite

You have logged in to the Access management console and entered the API key Management console page.

Operation step

Create a API key for the main account

You can create a API key for the main account. After creation, the main account can manage the resources under the account through API, SDK or other development tools.
On the API key management page, click "Create key" in the upper left corner to complete the creation of API key.

  • A master account can create up to two API keys.
  • The API key of the main account represents your account identity and your Permission, which is equivalent to your login password. Do not disclose others.
  • The API key is an important credential to build Tencent Cloud's API request. For the security of your property and service, please keep the key properly and change it regularly. When you change the key, delete the old key in time.

View the API key of the main account number

You can view and copy the SecretId and SecretKey information of the API key of the main account. You can use SecretId and SecretKey to manage the resources under the account using API, SDK or other developers.

  1. On the API key management page, the replication SecretId can be obtained directly under the key operation column.
  2. In the key operation column, click "Show" to complete the authentication, and you can get the replication SecretKey.

Disable / enable the API key of the main account

You can set to disable the main account API key. After disabling it, Tencent Cloud will reject all requests for the current key. Please proceed with caution.

  1. On the API key management page, click "disable" under the actions column.
  2. In the pop-up prompt window, click "disable" to complete the operation of disabling Access key.

Click "enable" under the operation column to enable the current key. After enabling, you can manage the resources under your account through API, SDK or other development tools.

Delete the API key of the main account

  1. On the API key management page, click "disable" in the actions column. If the API key to be deleted has been disabled, you can directly operate step 3.
  2. In the pop-up prompt window, click disable.
  3. On the API key management page, click "Delete" in the actions column.
  4. In the pop-up prompt window, click "Delete" to delete the API key.

Resume cannot be deleted after the API key is deleted. Please proceed with caution.