Got it

Huawei Cloud without a JSON service account key

Created: Dec 8, 2021 20:57:49Latest reply: Dec 8, 2021 21:18:08 455 3 0 0 0
  HiCoins as reward: 0 (problem unresolved)

@feifei_xin

How can we authenticate from GitHub Actions to Huawei Cloud without a JSON service account key?

  • x
  • convention:

Featured Answers
wissal
MVE Created Dec 8, 2021 21:18:08

Hello,


After connecting to a GitHub repository, you can obtain the repository and branch information. There are two verification methods.


OAuth authentication

The figure below is displayed when you select OAuth for Authentication Mode.

en-us_image_0202828375.png

The table below describes the parameters.

Parameter

Description

Authentication Mode

In OAuth authentication mode, you must log in to GitHub for manual authorization.

Service Endpoint Name

Name of the service endpoint.

Authorize with OAuth

Click this button to access the GitHub login page, and manually authorize the connection.

Access token authentication

The figure below is displayed when you select Access token for Authentication Mode.

en-us_image_0202828422.png

The table below describes the parameters.

Parameter

Description

Authentication Mode

Access token authentication is used.

Service Endpoint Name

Name of the service endpoint.

Access Token

Generate a personal access token on the Developer Settings under Settings on GitHub and enter it here for authentication.


Detail

https://support.huaweicloud.com/intl/en-us/usermanual-deployman/deployman_hlp_github.html


Thanks



View more
  • x
  • convention:

S_Noch
S_Noch Created Dec 9, 2021 06:03:36 (0) (0)
 
All Answers
AndresMoreno
AndresMoreno Admin Created Dec 8, 2021 21:01:58

Hello! Thank you for contacting us.
We are working on an answer for you.
View more
  • x
  • convention:

wissal
wissal MVE Created Dec 8, 2021 21:18:08

Hello,


After connecting to a GitHub repository, you can obtain the repository and branch information. There are two verification methods.


OAuth authentication

The figure below is displayed when you select OAuth for Authentication Mode.

en-us_image_0202828375.png

The table below describes the parameters.

Parameter

Description

Authentication Mode

In OAuth authentication mode, you must log in to GitHub for manual authorization.

Service Endpoint Name

Name of the service endpoint.

Authorize with OAuth

Click this button to access the GitHub login page, and manually authorize the connection.

Access token authentication

The figure below is displayed when you select Access token for Authentication Mode.

en-us_image_0202828422.png

The table below describes the parameters.

Parameter

Description

Authentication Mode

Access token authentication is used.

Service Endpoint Name

Name of the service endpoint.

Access Token

Generate a personal access token on the Developer Settings under Settings on GitHub and enter it here for authentication.


Detail

https://support.huaweicloud.com/intl/en-us/usermanual-deployman/deployman_hlp_github.html


Thanks



View more
  • x
  • convention:

S_Noch
S_Noch Created Dec 9, 2021 06:03:36 (0) (0)
 

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.