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
Release history Release notifications | RSS feed
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 details)
Built Distribution
gsec-1.0.1-py3-none-any.whl
(4.8 kB
view details)
File details
Details for the file gsec-1.0.1.tar.gz
.
File metadata
- Download URL: gsec-1.0.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76fc79228131dd27f2258f5cd736e22893619a888bf5ab7fba2cd8593e2699ec |
|
MD5 | 0b3635442c80b2da6cb37d04cee1f151 |
|
BLAKE2b-256 | 677ea062be278777f7a93db041c0fd48855946de09c491e13cd95f34c0748389 |
File details
Details for the file gsec-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: gsec-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 541d6c4f9f414bcecb7ec18d7c233a40a4d56e804925fd4a8a60780beee620ea |
|
MD5 | fad64fcbdce3f7fa27b957b975e61697 |
|
BLAKE2b-256 | 492995466ddc8301eb739eb48c96d4d9ab872e0239282829e798d59144449c10 |