hvac
HashiCorp Vault API client
Install
hvac on PyPI
pip
pip install hvacuv
uv add hvacpoetry
poetry add hvacPackage facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (<4.0,>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — requests |
| Maintenance | aging — 287 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: hvac-2.4.0-py3-none-any.whl
Keywords: hashicorp, vault
About hvac
from the package's own PyPI description — quoted content, verbatim
hvac
HashiCorp Vault API client for Python 3.x
Build (image) Lint (image) codecov (image) Documentation Status (image) PyPI version (image) Twitter - @python_hvac (image) Gitter chat (image)
Tested against the latest release, HEAD ref, and 3 previous minor versions (counting back from the...
Read as markdown · JSON record · Source repository · Homepage · Docs
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
hvac is a Python client library for HashiCorp Vault, enabling programmatic access to Vault's secrets management and authentication APIs.
Low friction: pure Python wheel with a single runtime dependency (requests). Maintenance is aging—287 days since last release—but the repository remains active with recent commits and 1314 stars, suggesting community investment despite the release gap.
Apache-2.0 is permissive; you may use, modify, and distribute hvac freely in commercial and private projects provided you retain license notices.
Usage
pip install hvac
import hvac
client = hvac.Client()
secret = client.secrets.kv.read_secret_version(path='secret/data/my-secret')
Requires a running Vault server and appropriate authentication credentials (token, role, etc.) configured.
Verdict: hvac is a well-established, low-friction Vault client suitable for production use. No known vulnerabilities, permissive licensing, and broad Python 3.8+ support make it a solid choice. The 287-day release lag warrants monitoring for security patches, but active repository maintenance and top-1000 popularity suggest ongoing stewardship.
Needs verification
- Whether the 287-day release gap reflects a stable, feature-complete state or deferred maintenance requiring urgent patches.
- Performance and compatibility claims against Vault v1.4.7+ and the latest Vault versions listed in the description.
- Specific Vault server configuration and authentication setup requirements for the usage example.
Similar packages
permissive · top 1,000 on PyPI
azure-keyvault-keysunclear · top 1,000 on PyPI
flatbufferspermissive · top 1,000 on PyPI
keyringpermissive · top 1,000 on PyPI
semgrepcopyleft · top 1,000 on PyPI
google-cloud-secret-managerpermissive · top 1,000 on PyPI
langchainpermissive · top 1,000 on PyPI
langchain-google-vertexaipermissive · top 1,000 on PyPI
langchain-communitypermissive · top 1,000 on PyPI
cuda-bindingsunclear · top 1,000 on PyPI