# hvac/hvac

:lock: Python 3.X client for HashiCorp Vault

Repository: https://github.com/hvac/hvac
Canonical: https://ross.abutalabs.com/products/hvac
Homepage: https://python-hvac.org
Language: Python
License: Apache-2.0
License Family: permissive
Topics: python, vault, hashicorp, client, api, hacktoberfest
Last push: 2026-01-06T02:34:01+00:00

## Health v2 (maintenance only)
Score: 55/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 60, release rhythm 22, longevity 100
- inputs: {"age_days": 4138, "days_push": 240, "days_rel": 307, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1315, forks 387 (observed 2026-08-28T04:04:20.642704+00:00)

## What it is
hvac is a Python 3.x client library for the HashiCorp Vault HTTP API. It lets Python applications authenticate to Vault and read, write, and manage secrets and Vault configuration programmatically.

## Use cases
- read secrets from hashicorp vault in python
- authenticate python app to vault
- manage vault policies programmatically
- store and retrieve database credentials from vault
- integrate vault into python application
- wrap vault api calls in python

## When to choose
- your Python application needs to fetch secrets from HashiCorp Vault
- you want to automate Vault administration tasks from Python scripts
- you need a well-maintained, tested client covering recent Vault versions

## When to avoid
- you use a different secrets manager like AWS Secrets Manager or Azure Key Vault
- you need a CLI tool rather than a Python library
- you run a Vault version older than v1.4.7

## Facets
- artifact type: library
- maturity: active
- function: auth, secrets-management, http-client, security
- domain: security, developer-tools, backend
- platform: python, cross-platform
- tags: hashicorp-vault, vault-client, secrets, api-client

## Member repositories
- hvac/hvac (main) score 55

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:20.642704+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:48:41.344961+00:00, confidence not recorded.
  - readme: https://github.com/hvac/hvac (fetched 2026-08-28T04:04:20.642704+00:00, sha 30e99ab612be)
  - registry_pypi: https://pypi.org/pypi/hvac/json (fetched 2026-08-29T12:07:37.372260+00:00, sha 82afd0700d67)
- Data as of 2026-08-30T08:39:29.467469+00:00.
