cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate token for SAP Cloud Platform Git Repository Cloning

Jerry_Lin
Advisor
Advisor
0 Kudos

Hi Experts,

I am working a HANA native development project with multiple developers with trial account in SCP Neo Platform, and now I created a repository for the project and got the link to clone.

But as you know, the trial account can manage the collaborators, if any other team members want to pull/push the code to the repository I created, they have to use my ID and password that is not the practise for security reason.

And I notice there is a "Use Token Authentication" options available for SCP Git, but how can I generate a token? So I can share the token to my team members to use the same git repository?

Any one can help on this? or any solution to clone the public Git rather than SCP Git?

Thanks in advance.

Jerry Lin

Accepted Solutions (1)

Accepted Solutions (1)

Vitor_daSilva
Advisor
Advisor
0 Kudos

Hi Jerry,

Token Authentication is not supported with a Cloud Platform subaccount's Git service. You can do what you're hoping to achieve with a Git server that doesn't need the other developers to be members of the subaccount. For example, if you have a corporate Git server, you can follow this page to set it up and use it:

https://help.sap.com/viewer/825270ffffe74d9f988a0f0066ad59f0/CF/en-US/b8427ec16ae64347b97d2d46fb28f7...

Then, the developers can just clone the project hosted in that Git server in their own Web IDEs. More information on how to use Token Authentication can be found on this blog post:

https://blogs.sap.com/2018/06/26/using-personal-access-token-with-git-in-sap-web-ide/

Answers (1)

Answers (1)

Jerry_Lin
Advisor
Advisor
0 Kudos

Thanks Vitor.