Client application for VaultAPI Server
Platform Supported
Deployments
Recommendations
- Install
python
3.10 or 3.11 - Use a dedicated virtual environment
Install VaultAPI
python -m pip install vaultapi
Initiate - IDE
import vaultapi
if __name__ == '__main__':
vaultapi.decrypt(get_secret="mykey", table="mytable")
Initiate - CLI
vaultapi --table mytable
Use
vaultapi --help
for usage instructions.
Sourcing environment variables from an env file
By default,
VaultAPI-Client
will look for a.env
file in the current working directory.
- APIKEY - API Key for authentication.
- SECRET - Secret key used for transit encryption.
- VAULT_SERVER - VaultAPI server URL.
Docstring format: Google
Styling conventions: PEP 8
and isort
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 pre-commit
Usage
pre-commit run --all-files
https://pypi.org/project/VaultAPI-Client/
© Vignesh Rao
Licensed under the MIT License