How Do I Obtain an Access Key (AK/SK) in the Cloud Alliance Regions?
Symptom
The administrator has enabled the CN-Hong Kong, AP-Singapore, CN East-Shanghai1, LA-Sao Paulo1, LA-Mexico City1, LA-Mexico City2, AF-Johannesburg, or LA-Santiago cloud alliance region. The account and IAM users need to use access keys for encryption and signing in the selected region.
Users access cloud services in the cloud alliance region as virtual users authorized through federated authentication. They are not real users who exist in the cloud service system, and need to obtain an access key in Huawei Cloud's default regions and the CN-Hong Kong, AP-Singapore, CN East-Shanghai1, LA-Sao Paulo1, LA-Mexico City1, LA-Mexico City2, AF-Johannesburg, or LA-Santiago cloud alliance region, respectively.
The procedure below guides you through creating a permanent access key for yourself as an administrator or for your IAM users. Both you and your IAM users can create temporary access keys on the My Credentials page.
Procedure
- Create an IAM user in the CN-Hong Kong, AP-Singapore, CN East-Shanghai1, LA-Sao Paulo1, LA-Mexico City1, LA-Mexico City2, AF-Johannesburg, or LA-Santiago cloud alliance region as an administrator. To create an access key for yourself, go to Step 2.
- Log in to Huawei Cloud as an administrator, click on the console homepage, and select the CN-Hong Kong, AP-Singapore, CN East-Shanghai1, LA-Sao Paulo1, LA-Mexico City1, LA-Mexico City2, AF-Johannesburg, or LA-Santiago region.
- On the console, in the selected region, choose Management & Governance > Identity and Access Management.
- In the navigation pane of the IAM console, choose Users.
- Click Create User in the upper right corner.
- On the Create User page, set user information. For details, see Creating an IAM User.
To identify the entity that uses an access key, create an IAM user with the same name as the corresponding IAM user or your account.
- Click OK.
- Obtain an access key for the IAM user.
- Log in to the IAM console as an administrator and select the CN-Hong Kong, AP-Singapore, CN East-Shanghai1, LA-Sao Paulo1, LA-Mexico City1, LA-Mexico City2, AF-Johannesburg, or LA-Santiago cloud alliance region.
- On the Users page of the IAM console, click Security Settings in the Operation column of the row that contains the IAM user created in 1.
- On the Security Settings tab of the IAM user details page, click Create Access Key.
- (Optional) Enter a description for the access key.
- Click OK. The access key is created.
- Download the access key file.
- Each user can have a maximum of two access keys with unlimited validity. To ensure account security, keep them properly.
- The administrator and IAM users can use the access key only in the CN-Hong Kong, AP-Singapore, CN East-Shanghai1, LA-Sao Paulo1, LA-Mexico City1, LA-Mexico City2, AF-Johannesburg, or LA-Santiago cloud alliance region.
- (Optional) Provide the access key to the IAM user.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.