Client application for VaultAPI Server
Project description
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.
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
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vaultapi_client-0.2.0-py3-none-any.whl.
File metadata
- Download URL: vaultapi_client-0.2.0-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b430fb9cbe4e2c3488463befcc98a2e2bea994207e20ad7d71adbf44e32a89e
|
|
| MD5 |
0237ba1c308bd42b2dab8c819812033e
|
|
| BLAKE2b-256 |
78263fc21e5310e2c8692ef739283a28cdf12bfbf5f3359b0ed4c50b8474c0de
|