git-secret

Bash tool which stores private data inside a Git repository. More information: <https://github.com/sobolevn/git-secret>.

Install

All systems
curl cmd.cat/git-secret.sh
Debian Debian
apt-get install git-secret
Ubuntu
apt-get install git-secret
image/svg+xml Kali Linux
apt-get install git-secret
Windows (WSL2)
sudo apt-get update sudo apt-get install git-secret
OS X
brew install git-secret

Bash tool which stores private data inside a Git repository. More information: <https://github.com/sobolevn/git-secret>.

  • Initialize `git-secret` in a local repository:
    git secret init
  • Grant access to the current Git user's email:
    git secret tell -m
  • Grant access by email:
    git secret tell email
  • Revoke access by email:
    git secret killperson email
  • List emails with access to secrets:
    git secret whoknows
  • Register a secret file:
    git secret add path/to/file
  • Encrypt secrets:
    git secret hide
  • Decrypt secret files:
    git secret reveal

© tl;dr; authors and contributors