go-github icon indicating copy to clipboard operation
go-github copied to clipboard

support for github deploy keys

Open rafiqkattangere opened this issue 4 years ago • 2 comments

Is there any example to use GitHub deploy keys as authentication for go-github pkg? I haven’t found any http.client which support ssh-keys or deploy keys either to use as alternative. The only choice I am left with is to move to go-git. Appreciate the help.

rafiqkattangere avatar Jan 12 '22 16:01 rafiqkattangere

I believe the answer is "no". Check this out: https://stackoverflow.com/questions/69227780/how-can-i-use-deploy-key-for-authentication-to-use-github-api

gmlewis avatar Jan 13 '22 03:01 gmlewis

Closing due to inactivity.

gmlewis avatar Mar 17 '25 22:03 gmlewis