VaultAPI-Client-python
Client application for VaultAPI Server
Platform Supported
Deployments
Kick off
Recommendations
- Install
python3.10 or 3.11 - Use a dedicated virtual environment
Install VaultAPI
python -m pip install vaultapi
Initiate - 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 mytable
Use
vaultapi --helpfor usage instructions.
Environment Variables
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.
- TRANSIT_KEY_LENGTH - AES key length used for transit encryption. Defaults to
32 - TRANSIT_TIME_BUCKET - Interval for which the transit epoch will remain constant. Defaults to
60
Coding Standards
Docstring format: Google
Styling conventions: PEP 8 and isort
Linting
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
Pypi Package
https://pypi.org/project/VaultAPI-Client/
License & copyright
© Vignesh Rao
Licensed under the MIT License
Metadata
Release files for VaultAPI-Client 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vaultapi_client-0.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Release files / vaultapi_client-0.3.2-py3-none-any.whl
| Download URL | vaultapi_client-0.3.2-py3-none-any.whl |
|---|---|
| Size | 14.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4beaae4af722d2b9575b6a82d31e02bc220c66734892f4eb93276762908b5100
|
|
BLAKE2b-256 checksum How to use checksums |
acfc68ff99f8dff69d84f3b3909bc32a541fcc97c5dc49bd43ae7b9a2eb6f01a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.0rc1
|