Obtaining Key Parameters
- AK: access key ID, which is a unique identifier used in conjunction with a secret access key to sign requests cryptographically.
- SK: secret access key used in conjunction with an AK to sign requests cryptographically. It identifies a request sender and prevents the request from being modified.
- Project_ID: project ID. Some request URLs must contain this field.
- Account name: This field must be contained in some request URLs.
- Endpoint: regions covered by HUAWEI CLOUD and endpoints for available services
Prerequisites
You have registered with HUAWEI CLOUD and completed real-name authentication.
Obtaining the AK/SK Pair
Note: An access key has full access permissions for your account. If the access key is disclosed, data leakage may occur. For account security, you are advised to periodically change and keep the access key secure. Each account can create a maximum of two access keys.
- Log in to the HUAWEI CLOUD website, hover the mouse cursor over the username in the upper right corner, and choose My Account.
- On the Basic Information page, click Manage beside Security Credentials.
- In the navigation pane, choose Access Keys. Click Create Access Key. On the displayed page, enter the HUAWEI CLOUD account and SMS verification code.
Figure 1 Access key
- Click OK to download the credentials.csv file that contains the AK and SK pair.
Obtaining a Project ID and Account Name
- Log in to the HUAWEI CLOUD website, hover the mouse cursor over the username in the upper right corner, and choose My Account.
- On the Basic Information page, click Manage beside Security Credentials.
Figure 2 Basic information
- On the displayed API Credentials page, view the Project ID.
Figure 3 Obtaining a Project ID
Obtaining an Endpoint
The endpoint is required during SDK initialization. You can obtain the endpoints of MPC from Regions and Endpoints.
Last Article: Status Codes
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.