Skip to main content

VaultAPI-Client-python

Client application for VaultAPI Server

Python

Platform Supported

Platform

Deployments

pypi markdown

Pypi Pypi-format Pypi-status

Kick off

Recommendations

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 --help for usage instructions.

Environment Variables

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.
  • 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

pypi-module

https://pypi.org/project/VaultAPI-Client/

© 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)

Table of built distributions (wheels) for VaultAPI-Client 0.3.2
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.3.2 This release

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page