Skip to main content

Configure Tencent Cloud Access Credentials

NineData uses Tencent Cloud access credentials to create private network endpoints, query required Tencent Cloud resources such as PrivateLink, CVM, CDB, and VPC, and establish private connectivity between NineData and your database.

Permission Policy

Tencent Cloud credentials must include the permissions in the policy below.

{
"version": "2.0",
"statement": [
{
"effect": "allow",
"action": [
"cdb:DescribeDBInstances"
],
"resource": [
"*"
],
"condition": []
},
{
"effect": "allow",
"action": [
"cvm:DescribeInstances"
],
"resource": [
"*"
],
"condition": []
},
{
"effect": "allow",
"action": [
"cynosdb:DescribeClusters"
],
"resource": [
"*"
],
"condition": []
}
]
}
tip

If you use a sub-account, ask a Tencent Cloud administrator to grant the required policy to that sub-account.

Step 1: Create a Custom Policy

  1. Log in to the Tencent Cloud CAM Policy page.

  2. Click New Custom Policy, and select Create by Policy Syntax.

  3. In Select Template Type, select Blank Template, and click Next.

  4. Enter a Policy Name.

    tip

    The policy name supports 1 to 128 characters and can contain English letters, numbers, and these special characters: +=,.@-_.

  5. Copy the policy in Permission Policy, paste it into Policy Content, and click Finish.

Step 2: Add an AccessKey Credential

  1. Log in to the Tencent Cloud CAM User List page.

  2. Find the user to authorize, and select Authorization in the Operation column.

    tip

    Use the user whose access key will be added to NineData.

  3. On the Associated Policies page, select the custom policy created in Step 1, and click OK.

    tip

    Use the search box to find the policy by name.

  4. Go to Access Key > API Key Management, or open the API Key Management page, to obtain the SecretId and SecretKey. For more information, see View Current User Access Key.

  5. Log in to the NineData Console, go to Datasource > Access Credentials, and click Create Credentials.

  6. Configure the credential, and click Create Credential.

    Parameter
    Description
    NameEnter a credential name that is easy to identify later.
    Cloud VendorSelect Tencent Cloud.
    TypeSelect AccessKey.
    Access KeyEnter the SecretId.
    Access Key SecretEnter the SecretKey.

Result

The Tencent Cloud credential is available in NineData and can be selected when you configure Tencent Cloud data sources or private connectivity.