Skip to main content

Store secrets in a git repository. (Use under your OWN risk)

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gsec-1.0.1.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

gsec-1.0.1-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page