git-credential-github-apps

command module
v1.1.2-0...-4fe2cf0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2025 License: MIT Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

git-credential-github-apps

A git credential helper with GitHub Apps

Overview

git-credential-github-apps provides authentication behavior in GitHub Apps on git commands.

This command returns credentials that GitHub Token. Also, that response contains a cached token while during in not expire.

git-credential-github-apps is work as git-credential-helper. If you want to know more details, see the Install section in this document and this document.

Install

Download latest version from Releases.

Extract into a directory that written in your PATH environment variable.

Usage

Prepare

Using this tool requires a private key, App ID and Installation ID or organization name.

You will get a private key and App ID on the Config page at GitHub Apps.

More details for private key: Generating a private key

Installation ID is the identifier of installation organization on GitHub Apps

Organization name can be alternate to installation ID. git-credential-github-apps detect installation ID from organization name.

Install to git

Type following this. This is set credential helper to git configuration in global.

$ git config --global credential.helper 'github-apps -privatekey <path to private key> -appid <App ID> -login <organization>'

If you want to set to repository local, you will type following this on directory of the repository.

git config --global credential.helper 'github-apps -privatekey <path to private key> -appid <App ID> -login <organization>'
More Options

If you want to know more options, execution git-credential-github-apps with -h.

Author

mackee, KAYAC Inc.

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
ghawrap command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL