How to authenticate against GitHub with code without user interaction?

33 views Asked by At

I am working on a software that has to fetch and pull from various git hosting providers automatically. For GitLab and Azure DevOps I am able to do this silently on a regular basis using username and password or username and a private token.

None of this options seems applicable for GitHub.

The goal is to put the passwords in a secure storage, retrieve them and use them to fetch and pull on a regular period.

All options for GitHub seem to require user interaction.

I am using Libgit2CSharp if it matters. I can also use the git process if needed.

0

There are 0 answers