Skip to main content

Configure HUAWEI CLOUD access credentials

NineData supports access key of the HUAWEI CLOUD account to create a VPC terminal node for NineData, query some necessary information of VPC terminal nodes, ECS, RDS, VPC and other products, and establish a connection between the NineData server and the database. Peer-to-peer network connection.

Permission description

To leverage this menthod, user's HUAWEI access credentials need to have the following permissions (presented in the form of JSON permission scripts).

{
"Version": "1.1",
"Statement": [
{
"Effect": "Allow",
"Action": [
"vpc:vpcs:list",
"vpc:subnets:create",
"vpc:subnets:get"
]
},
{
"Effect": "Allow",
"Action": [
"vpcep:pubEpservices:list",
"vpcep:epserviceDesc:get",
"vpcep:endpoints:create",
"vpcep:endpoints:list"
]
},
{
"Effect": "Allow",
"Action": [
"ecs:cloudServers:showServer",
"ecs:servers:list",
"ecs:cloudServers:list"
]
},
{
"Effect": "Allow",
"Action": [
"rds:instance:list"
]
}
]
}
tip

If using an IAM account, please contact the administrator to authorize the IAM account according to this article.

Step 1: Create a custom policy

  1. Log in to HUAWEI CLOUD IAM Console.

  2. In the left navigation pane, click Permissions > Policies/Roles.

  3. On the upper right corner of the Policies/Roles page, click Create Custom Policy.

  4. Enter a Policy Name.

    tip

    The policy name supports 1 to 64 characters, which can contain English letters, Chinese characters, numbers, spaces, and special characters (-_.,).

  5. Click JSON on the right side of Policy View.

  6. Copy the permission script in Permission Description, paste it into the text box on the right of Policy Content, and click OK.

Step 2: Add AccessKey

  1. Log in to the HUAWEI CLOUD IAM console, and authorize the user group, and add the target user to this user group.

    tip

    The authorized user must belong to the AccessKey to be added.

  2. Log in to the Access Key page of HUAWEI CLOUD to obtain the Access Key ID and Secret Access Key. For more information, see Managing IAM User Access Keys.

  3. Log in to NineData Console, click Datasource > Access Credentials on the left console, click Create Credentials in the upper right corner, configure according to the table below, and click Create Credential.

    Parameter
    Description
    NameEnter a credential name. To facilitate subsequent search and management, please try to use meaningful names.
    Cloud VendorClick Huawei Cloud.
    TypeSelect AccessKey.
    Access KeyEnter the obtained Access Key ID.
    Access Key SecretEnter the obtained Secret Access Key.