Skip to content

Rooyca/git-secret

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git-Secret

Requirements

  • git
  • github-cli
  • SECRET_KEY environment variable or .key file in the root of the repository

You can generate a secret key automatically by leaving the SECRET_KEY environment variable empty. It will be stored in the .key file.

Installation

Pip

pip install gsec

From source

git clone 
cd git-secret
pip install -r requirements.txt
python src/main.py --help

Usage

Usage: main.py [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  add     Add a new secret
  delete  Delete a secret by ID
  edit    Edit a secret by ID
  list    List all secrets
  show    Show a secret by ID

TODO

  • Add configuration file (json)
    • Change repo path
    • Change secret key
  • Create packages
    • PyPI
    • AUR
    • COPR
  • Add tests
  • Change the way show displays the secrets