Updated on 2023-10-19 GMT+08:00
Key Configuration
Obtaining Key Information
- Log in to Huawei Cloud and choose My Account > My Credentials in the upper right corner. The My Credentials page is displayed.
- In the navigation pane on the left, choose Access Keys. Click Create Access Key to generate a new access key and download and save it.
Configuring the AK/SK
Using Wizard
Run config add to add a key:
$ s config add ? Please select a provider: (Use arrow keys) Alibaba Cloud (alibaba) AWS (aws) Azure (azure) Baidu Cloud (baidu) Google Cloud (google) > Huawei Cloud (huawei) Tencent Cloud (tencent) Custom (others)
After selecting a provider, you will be prompted to enter the corresponding information:
s config add ? Please select a provider: Huawei Cloud (huawei) ? AccessKeyID ********** ? SecretAccessKey ********** ? Please create alias for key pair. If not, please enter to skip default
Using a Command
Add a key using a command:
$ s config add --AccessKeyID ****** --SecretAccessKey ******
Or:
$ s config add -kl AccessKeyID,SecretAccessKey -il ${AccessKeyID},${SecretAccessKey}
Parent topic: Serverless Devs
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot