Lightweight API to store/retrieve secrets to/from an encrypted Database
MIT License
Lightweight API to store/retrieve secrets to/from an encrypted Database
Platform Supported
Deployments
Recommendations
python
3.10 or 3.11
Install VaultAPI
python -m pip install vaultapi
Initiate - IDE
import vaultapi
if __name__ == '__main__':
vaultapi.start()
Initiate - CLI
vaultapi start
Use
vaultapi --help
for usage instructions.
By default,
VaultAPI
will look for a.env
file in the current working directory.
Mandatory
Optional (with defaults)
32
60
secrets.db
0.0.0.0
[OR] localhost
9010
1
max_requests
and seconds
to apply as rate limit.Optional (without defaults)
10.112.8.10-210
)
Checkout decryptors for more information about decrypting the retrieved secret from the server.
This value will be used to encrypt/decrypt the secrets stored in the database.
CLI
vaultapi keygen
IDE
from cryptography.fernet import Fernet
print(Fernet.generate_key())
Docstring format: Google
Styling conventions: PEP 8
and isort
Requirement
python -m pip install gitverse
Usage
gitverse-release reverse -f release_notes.rst -t 'Release Notes'
pre-commit
will ensure linting, run pytest, generate runbook & release notes, and validate hyperlinks in ALL
markdown files (including Wiki pages)
Requirement
python -m pip install sphinx==5.1.1 pre-commit recommonmark
Usage
pre-commit run --all-files
https://pypi.org/project/VaultAPI/
https://hub.docker.com/r/thevickypedia/vaultapi
https://thevickypedia.github.io/VaultAPI/
© Vignesh Rao
Licensed under the MIT License