Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ivoronin/github-app-credential-helper
Git credential helper that uses GitHub App credentials to obtain access tokens
https://github.com/ivoronin/github-app-credential-helper
Last synced: 5 days ago
JSON representation
Git credential helper that uses GitHub App credentials to obtain access tokens
- Host: GitHub
- URL: https://github.com/ivoronin/github-app-credential-helper
- Owner: ivoronin
- Created: 2024-09-04T20:37:36.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-04T20:39:54.000Z (2 months ago)
- Last Synced: 2024-09-20T06:42:19.104Z (about 2 months ago)
- Language: Go
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# github-app-credential-helper
`github-app-credential-helper` is a Git credential helper that uses GitHub App credentials to obtain access tokens. To use this tool, you need to set the environment variables `GITHUB_APP_ID`, `GITHUB_INSTALLATION_ID`, and `GITHUB_PRIVATE_KEY_PATH` to the appropriate values, and configure Git to use this helper:
```
git config --global credential.helper /usr/local/bin/github-app-credential-helper
```You can now use Git as you normally would, and the credential helper will automatically use your GitHub App credentials to authenticate your requests. Make sure the GitHub App has the required permissions for the repositories you're accessing. You may need to grant additional repository or organization-level permissions depending on your use case.