Giter Site home page Giter Site logo

git-credential-gopass's Introduction

git-credential-gopass

This command allows you to cache your git-credentials with gopass.

Pre-Installation Steps

If you want to use this helper, you should know, have installed and configured the password manager Gopass.

You may also check if the helper is already installed.

$ git help -a | grep credential-
   credential-cache     Helper to temporarily store passwords in memory
   credential-store     Helper to store credentials on disk
   credential-gopass

After a successful installation and setting up in git you might find a line with credential-gopass.

Installation Steps

Depending on your operating system, you can either download a pre-built binary, or install from source. If you have a working Go development environment, we recommend building from source.

Alternative: Download

Find the appropriate package from the releases for your system and download it. Unpack the binary from the archive file. Move it to one of the locations listed in your $PATH.

Alternatively, use the installable version for your packet manager.

Alternative: Building From Source

If you have Go already installed, you can use go get to automatically download the latest version:

go get -u github.com/gopasspw/git-credential-gopass

Set Git Credential Helper

If git-credential-gopass is in your $PATH, you can now configure git.

git config --global credential.helper gopass

or

git-credential-gopass configure --<global|local|system>

For further git scoping details show up the documentation of git credentials.

Option --store

You can save the credentials in a team store to share or manage a functional user for CI. Or just because you want it to.

git config credential.helper "gopass --store=ci-team"
git-credential-gopass configure --local --store=ci-team

This puts the value in front of the Gopass search path.

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.