GithubHelp home page GithubHelp logo

git-credential-github-apps's Introduction

git-credential-github-apps

A git credential helper with GitHub Apps.

This is a fork of mackee/git-credential-github-apps which was created by @mackee. It has merged pull requests provided by @tchssk, @tgoodsell-tempus, and @avijoenil. These include updates addressing the CVE-2022-39304 and CVE-2020-26160 security vulnrabilities.

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

git-credential-github-apps's People

Contributors

mackee avatar tgoodsell-tempus avatar pedrohdz avatar dependabot[bot] avatar avijoenil avatar tchssk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.