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": [
"rds:instance:list"
]
},
{
"Effect": "Allow",
"Action": [
"ecs:servers:list",
"ecs:cloudServers:list"
]
},
{
"Effect": "Allow",
"Action": [
"gaussdb:instance:list"
]
}
]
}
If using an IAM account, please contact the administrator to authorize the IAM account according to this article.
Step 1: Create a custom policy
Log in to HUAWEI CLOUD IAM Console.
In the left navigation pane, click Permissions > Policies/Roles.
On the upper right corner of the Policies/Roles page, click Create Custom Policy.
Enter a Policy Name.
tipThe policy name supports 1 to 64 characters, which can contain English letters, Chinese characters, numbers, spaces, and special characters (-_.,).
Click JSON on the right side of Policy View.
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
Log in to the HUAWEI CLOUD IAM console, and authorize the user group, and add the target user to this user group.
tipThe authorized user must belong to the AccessKey to be added.
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.
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 Name Enter a credential name. To facilitate subsequent search and management, please try to use meaningful names. Cloud Vendor Click Huawei Cloud. Type Select AccessKey. Access Key Enter the obtained Access Key ID. Access Key Secret Enter the obtained Secret Access Key.