Y.N
Y.N

Reputation: 5257

How to give the push access to github repo without giving the github account credentials?

I wrote the tool which use the one github repo as a cloud storage.

I need to give the write (push) access for this tool to one github repo, but I do not want to use the github user credentials (user name and password), because anyone can use it to logon to github and change the credentials or delete the repo.

Upvotes: 1

Views: 227

Answers (1)

VonC
VonC

Reputation: 1323793

You can generate an OAuth authorization for your specific app.

See an example here: it supposed you have registered you app in your account.

Upvotes: 1

Related Questions