Credentials
The Serverless Framework needs access to your Huawei Cloud credentials so that it can create and manage resources on your behalf.
Creating a Huawei Cloud Account
Go to the Huawei Cloud official website and click Sign Up in the upper right corner. For details, see Signing Up for a Huawei Cloud Account.
Getting the Credentials
You need to create credentials so that Serverless can use them to create resources in your project.
- Go to the Access Keys page to get the access keys of your Huawei Cloud account.
- Create a file named credentials containing the credentials that you have collected.
access_key_id=<collected in step 1> secret_access_key=<collected in step 1>
- Save the credentials file somewhere secure. We recommend creating a folder in your root folder and putting it there, like ~/.fg/credentials. Remember the path you saved it to.
Updating the provider Configuration in serverless.yml
provider: name: huawei runtime: Node.js14.18 credentials: ~/.fg/credentials
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot