selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

vault logo

Self-host vault

v2.2.2

Secrets manager with dynamic credentials and encryption

ReleaseSource AvailableBUSL-1.1
Updated2 days ago
LanguageGo
Setup difficultyAdvanced
Stars
36 511
Ports
8200 (Vault API and UI listener (api_addr), also used by clients and the load balancer), 8201 (cluster_addr: Raft, replication and request forwarding between Vault servers)
Docker
hashicorp/vault
Install with Linux
vault screenshot 1

What is vault?

Vault is a secrets management, encryption-as-a-service and privileged access server, published by HashiCorp (now under IBM) as the freely installable Vault Community Edition. Clients authenticate with tokens, username and password, LDAP, JWT/OIDC, Kubernetes, cloud identities or TLS certificates, and every request is authorized against path-based policies and written to configured audit devices. It stores arbitrary key/value data encrypted at rest, mints short-lived credentials for clouds and databases on demand, issues certificates through the PKI engine, and decrypts or encrypts data without storing it via Transit; each secret carries a lease that revokes automatically when it expires. Persistence uses the built-in integrated Raft storage, which also gives high availability, or an external backend such as Consul. You run it as a single vault binary from vendor packages or downloads, or as the hashicorp/vault container, with the API and web UI on port 8200 and the cluster port on 8201. The code is source-available under BUSL-1.1 rather than an OSI licence, and capabilities such as namespaces, Sentinel policies, HSM support, Transform, KMIP, Secrets Sync and cross-cluster replication need a paid Vault Enterprise license; HashiCorp also positions its managed HCP Vault Dedicated as the low-overhead alternative.

vault alternatives

Should you self-host vault?

vault scores 78/100 on selfhost.directory (how scoring works) and ranks #1 of 12 in Secrets Management. It has 36 511 GitHub stars, +130 in the last 30 days.

It shipped 11 stable releases in the past year. The latest, v2.2.2, came out on 12 November 2026. New versions land roughly every 3 weeks.

Setup is advanced: plan for several services and some ongoing maintenance. An official Docker image is available. It is BUSL-1.1-licensed and written mostly in Go.

Its closest alternative on selfhost.directory is Infisical (78/100, 30 505 stars). vault scores higher overall. See vault vs Infisical side by side.

Features

  • Audit Logging
  • Certificate management (PKI)
  • CLI
  • Database credential management
  • Dynamic Secrets
  • Encryption as a Service
  • Integrated Raft storage with high availability
  • Key/value secret storage
  • Plugin Ecosystem
  • Policy-based access control
  • Seal/unseal with Shamir key shares
  • Secret leasing and revocation
  • Web UI

vault README

Vault build ci vault enterprise


Please note: We take Vault's security and our users' trust very seriously. If you believe you have found a security issue in Vault, please responsibly disclose by contacting us at security@hashicorp.com.


How to install vault

Install vault with Linux

wget -O - https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(grep -oP '(?<=UBUNTU_CODENAME=).*' /etc/os-release || lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list sudo apt update && sudo apt install vault

Also installable from HashiCorp RPM repos for RHEL/CentOS, Fedora and Amazon Linux, via Homebrew, or as amd64/arm64/386 binary downloads.

How to configure vault

  • api_addrAddress clients and load balancers reach for the Vault API (core cluster port 8200)
  • cluster_addrAddress Vault servers use between themselves for Raft, replication and request forwarding (port 8201)
  • statsd_addressStatsD collector target for Vault telemetry when set (UDP port 8125)
  • listen_addrsListener addresses of the KMIP secrets engine plugin, opened separately from 8200/8201 (default port 5696)

vault releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in Secrets Management

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…