About HashiCorp Vault
Vault keeps secrets encrypted at rest and hands them out through an API governed by fine-grained policies. Beyond static key/value data, it generates dynamic credentials that expire, encrypts and decrypts data for apps without storing it, and can revoke whole trees of secrets at once.
Vault 1.15 and later use the Business Source License 1.1, which permits production use unless you offer Vault to others as a competing hosted service. On your own server, a CloudSat firewall can limit port 8200 to known clients.
After deploy, the API and web UI listen on port 8200, waiting to be initialized and unsealed.
What you get with HashiCorp Vault
- Encrypted key/value secrets with versioning
- Dynamic, expiring credentials for databases and clouds
- Transit engine for encryption as a service
- Auth methods such as AppRole, OIDC, LDAP and tokens
- Audit logging and lease revocation
HashiCorp Vault use cases
- Central secrets for apps, CI pipelines and servers
- Short-lived database users instead of shared passwords
- Encrypting sensitive fields without building crypto into each app
After you deploy HashiCorp Vault
- With the server Running, SSH in and export
VAULT_ADDRpointing at port 8200 (HTTPS once you add a certificate). - Run
vault operator initand store the five unseal keys and the root token in separate safe places; Vault cannot show them again. - Unseal with
vault operator unseal, entering three of the keys, and repeat after every restart. - Sign in to the UI at
/ui, create policies and an auth method, then revoke the root token for daily work.
HashiCorp Vault ports
Open these in your firewall if you use one: 8200/tcp API and UI, 8201/tcp cluster.
HashiCorp Vault FAQ
Is Vault still open source?
Not in the OSI sense. Releases from 1.15 on are under BSL 1.1, which converts each version to MPL 2.0 four years after publication; running it for your own use is allowed.
What happens when the server reboots?
Vault starts sealed and cannot serve secrets until enough unseal keys are entered again. For unattended restarts, configure auto-unseal with an external key management service.
Disclaimer. The HashiCorp Vault project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.