Client application for VaultAPI Server
Platform Supported
Deployments
Recommendations
- Install
python3.10 or 3.11 - Use a dedicated virtual environment
Install VaultAPI
python -m pip install vaultapiInitiate - IDE
import vaultapi_client
if __name__ == '__main__':
vaultapi_client = vaultapi_client.VaultAPIClient()
vaultapi_client.get_secret(key="mykey", table_name="mytable")Initiate - CLI
vaultapi --table mytableUse
vaultapi --helpfor usage instructions.
Sourcing environment variables from an env file
By default,
VaultAPI-Clientwill look for a.envfile 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-commitUsage
pre-commit run --all-fileshttps://pypi.org/project/VaultAPI-Client/
© Vignesh Rao
Licensed under the MIT License