The short answer: choose Vault when you can own credential lifecycles
Choose HashiCorp Vault when centrally controlled application secrets justify owning credential revocation and service recovery. Its README describes dynamic credentials and automatic revocation after their lease expires. That gives a platform team a concrete reason to consider the service: applications can request credentials instead of carrying permanent database passwords or cloud keys. The adoption decision should cover what happens when those credentials expire and when the service holding their history needs recovery.
HashiCorp Vault is the secrets-management software reviewed here. A secret can be an API key, password or certificate; a lease governs the lifetime of an issued credential. The README also documents encrypted key-value storage and encryption operations that do not store the application data. Teams choosing these features need an operating owner. Teams planning to keep durable secrets in the tutorial's temporary development server should choose a durable deployment approach before proceeding.
What people use vault for
Issue participants describe Vault deployments, PostgreSQL integrations and password frontends, giving platform teams specific workflows to examine. These accounts connect the product's credential features to database permissions and human access. Each row identifies the person reporting the outcome, so an experiment with an internal password store stays distinct from an account of an operating deployment.
| Person and task | What happened | Decision it informs |
|---|---|---|
| TheMerinoWolf, an existing deployment | Reported roughly a year of deployment before the problem arose | Include upgrade and shutdown behavior in acceptance work. |
| rwe, PostgreSQL integration | Reported a working setup with Vault 0.6.1 and PostgreSQL 9.5 | Exercise the actual database permissions. |
| ShadowApex, graphical password access | Described developing VaultKee and a separate discovery API | Treat human discovery as an application requirement. |
| MadsRC, an internal password store | Was testing Vault and wanted secret listing | Include finding entries in the user workflow. |
| rnsc, recursive discovery in Go | Reported that a custom implementation worked for their project | Define whether users need recursive inventory or direct access. |
The PostgreSQL account is useful because rwe described starting with a superuser and changing the design for RDS. Their explanation separates the role used by Vault from long-lived service roles used for ownership and privileges. For a new integration, credential creation and credential removal belong in the same acceptance exercise. A successful login with a newly issued password answers a different question from whether the database rejects that password after revocation.
What happened when we ran it
Our November installation failed after 8.6 seconds during module extraction, reporting no space left on device. The November 25, 2026 recipe used checkout bee4674df62c in a fresh unprivileged container configured with 2 CPUs, 4 GB RAM, no published ports and no secrets. Its image label was golang:1.24-bookworm. These configuration details distinguish that attempt from our October source harness.
The clone completed in 5 seconds, followed by go install github.com/hashicorp/vault/...@latest. The installation exited with status 1, and its extraction paths named the v1.21.4 module. Checkout bee4674df62c and the requested module target therefore identify different parts of the recipe. The sandbox teardown returned ok. The table keeps each recorded step and failure separate rather than combining the attempts into a typical installation time.
| Attempt | Configuration and target | Recorded result |
|---|---|---|
| November 25 hands-on recipe | Checkout bee4674df62c; Go installation requested @latest; 2 CPUs, 4 GB RAM | Clone: 5 seconds. Installation: exit 1 after 8.6 seconds; module extraction reported no space left on device, with v1.21.4 in the paths. Teardown: ok. |
| October 18 source harness | commit 7649ad4; 3 CPUs, 8 GB RAM; image label golang:1.24-bookworm | Installation failed with exit 1 after 199 seconds during dependency retrieval. |
In our October run, installation failed with exit 1 after 199 seconds. Go logged go: downloading go1.27.2 (linux/amd64) before the lookup for github.com/hashicorp/releases-api@v0.4.14 failed. The final Git error was fatal: could not read Username for 'https://github.com': terminal prompts disabled. This records the dependency and the authentication-prompt failure directly, without assigning a cause beyond the log.
The October checkout contained 9,595 files, approximately 1,024,403 source lines and 44.5 MB of checked-out content. Our scan counted 37 CI workflow files and found a Dockerfile and no tests directory. The directory result describes the scan; it is different from counting Go test files throughout the repository. The harness recorded 209 seconds in total, including the 199-second failed installation step.
Where people get stuck: paths, listing and revocation
The UI tutorial requires the engine mount path to match its policy: sre-secrets works with the example policy, while the default kv path does not. An ACL, or access-control list, specifies allowed operations at paths. Comparing the engine mount with the policy is a concrete troubleshooting step before widening permissions. Discovery adds another question: a person may have access to a known secret path while needing a separate way to find that path.
| Symptom and reporter | Response or workaround | Status of that account |
|---|---|---|
| The author of #5275 wanted nested keys from a LIST call | Users discussed recursive scripts and a separate CLI; rnsc reported a working Go implementation. | Historical recursive-discovery request. |
| The author of #5362 described difficulty navigating permitted paths | mfuxi reported entering the secret path directly in the URL. | Historical navigation workaround. |
| PostgreSQL participants in #1857 described creation and revocation problems | The discussion examined database privileges and revocation SQL; rwe described a working role-based setup. | Different configurations produced different reported outcomes. |
| TheMerinoWolf reported shutdown trouble in #4143 | Token tidy did not clean the affected tokens; the reporter still saw the issue on 0.9.6. | The discussion records an unsuccessful proposed fix. |
The navigation report includes a concrete 403 permission-denied error in issue #5362. mfuxi's direct-path workaround appears in the recorded discussion. Separately, issue #5275 concerns recursive discovery, while issue #1857 concerns PostgreSQL roles. These are distinct acceptance scenarios: navigating to an allowed entry, enumerating nested entries, and removing a database credential's access.
The source-install error has its own documented response. The README troubleshooting section suggests a global Git configuration rewrite from GitHub HTTPS URLs to SSH. Because that setting applies globally, it changes other matching GitHub operations as well. The failing dependency path and intended access method should determine whether that advice fits the environment; an error containing the same words does not identify every underlying access condition.
Backups must reconcile external credentials with restored Vault state
A restore plan needs to reconcile Vault's restored state with credentials issued in external systems. In issue #4143, the operator raised the problem of credentials issued after a backup surviving outside the restored service's knowledge. That separates recovering storage from recovering the credential lifecycle. The useful acceptance outcome is an application with the intended access, including rejection of a credential whose access should have ended.
In issue #5683, maintainer jefferai recommended atomic storage snapshots. The explanation describes ordering writes and using write-ahead logs to tolerate an interrupted request. That provides a specific answer to the thread's consistency concern. It also gives an operator a narrower procedure to investigate than copying arbitrary files while writes continue: select the snapshot mechanism for the storage backend and include the connected credential systems in the restore exercise.
HashiCorp's lost-quorum tutorial says Vault cannot perform reads or writes without quorum. For its three-server example, two servers must be operational. Raft is the consensus mechanism used by integrated storage; quorum lets the servers agree on a leader. The documented recovery scenario replaces the peer configuration, restarts Vault and unseals it when required. Storage recovery and cluster recovery therefore need explicit places in the operating runbook.
Security begins beyond the development server
HashiCorp calls the quick-start development server insecure and unsuitable for production. Its convenience is useful for learning client authentication and secret retrieval. The UI tutorial also explains that development-mode configuration is held in memory and disappears when the server stops. A deployment intended to retain important secrets needs durable configuration and an access design beyond the tutorial's root-token exercise.
The README documents secret storage, dynamic credentials, encryption and revocation, while its development section documents contributor requirements. Those are different entry points: an application developer needs an authenticated client and suitable policies; a source contributor needs the build environment. For the latter, upstream specifies make bootstrap, then make dev, and says make test requires Docker. It also warns that acceptance tests can create, destroy or modify real resources and incur costs.
Vault vs OpenBao and AWS Secrets Manager
OpenBao offers a community-governed Vault fork, while AWS Secrets Manager documents an AWS service for credential retrieval and rotation. Those differences give a platform team useful selection criteria without turning a feature list into a performance ranking. Start with required secret types and application authentication, then include governance and the responsibility for operating the selected service.
| Alternative | What its primary source supports | When to consider it |
|---|---|---|
| OpenBao | Its website describes an open-source, community-driven Vault fork managed by the Linux Foundation's OpenSSF. | Open governance and an OSI-approved open-source license are requirements. |
| AWS Secrets Manager | Its documentation describes managing, retrieving and rotating database credentials, application credentials and other secrets. | The documented AWS retrieval and rotation workflows cover the application. |
OpenBao's website describes its mission as maintaining secrets-management software under an OSI-approved open-source license and open governance. AWS Secrets Manager's introduction describes replacing hard-coded credentials with runtime retrieval. For Vault, the corresponding starting point is the required engines, policies and client integration. Record those requirements explicitly so that a shared project history or a familiar cloud account does not substitute for examining the application workflow.
Historical comparisons add human access and certificate issuance to that list. ShadowApex described a Vault-backed graphical alternative to KeePass in issue #111. In issue #388, participants discussed early PKI support for CA certificates, including an internal certificate-authority design. These accounts make discovery and certificate hierarchy useful requirements to write down alongside storage and rotation.
Licensing affects the shortlist
Vault's current license identifies Business Source License 1.1 and names Vault 1.15.0 or later as the licensed work. The license text distinguishes internal organizational use from a paid competitive offering. Its additional-use grant permits production use subject to the stated competitive-offering restriction, and its change license is MPL 2.0. Those terms belong in a selection discussion when a product will host or embed Vault for customers.
OpenBao's open-source mission gives buyers with an OSI-license requirement a concrete alternative to examine. For Vault, the license applies separately to each version, and the change date can vary between versions. Procurement should therefore identify the intended version and distribution model alongside technical requirements. Repository metadata reporting NOASSERTION is a metadata value; the readable license provides the terms discussed here.
FAQ
HashiCorp's developer quick start teaches application clients to store and retrieve secrets after authentication. That answers the first-use question at the level of an application workflow: establish the client connection, authenticate, then perform the permitted operation. The questions below also cover the backup, discovery and container concerns raised by issue participants, keeping those tasks separate from unsealing and changing a local userpass password.
How do I use HashiCorp Vault to store and retrieve application secrets?
The developer quick start demonstrates client integration for storing and retrieving a secret. Use its isolated development flow to learn the client operations, then define the authentication method and policy for the application. The acceptance exercise should include a permitted operation at the intended path and a rejected operation outside it. That pairs successful retrieval with the access boundary the application needs.
How do I create an AppRole in Vault?
The AppRole documentation enables the method, creates a named role and retrieves its RoleID and SecretID. It describes AppRole as oriented toward machines and services. The operator configures policies and login constraints before authentication, so creating the role is only part of the setup. The role's credential delivery and constraints belong in the same application integration plan.
How do I reset or change my Vault password?
The userpass API documents POST /auth/userpass/users/:username/password for updating an existing user's password. The documentation assumes the method is mounted at /auth/userpass and says to adjust calls for another mount. Identify that authentication method and mount before choosing the endpoint. A userpass password update concerns that user account; unsealing belongs to the server's seal procedure.
Can I take a consistent Vault backup while it is running?
Maintainer jefferai recommends atomic storage snapshots in issue #5683. The explanation ties that recommendation to interrupted-write handling through write ordering and write-ahead logs. Select the mechanism for the actual storage backend, then include recovery of the service and reconciliation of external credentials in the runbook. The snapshot captures storage state; the application exercise checks whether restored access matches the intended state.
How do I list or recursively search all Vault secret paths?
Issue #5275 discusses recursive discovery and includes rnsc's report of a working Go implementation. The recorded comment attributes that outcome to their project. Define the task before choosing an approach: a nested inventory, matching names, and showing a person only accessible paths impose different requirements. The direct-path navigation workaround in issue #5362 addresses another part of that workflow.
Can the Vault UI show only the secret paths a user is allowed to access?
Issue #5362 records requests for access-filtered discovery and a direct-URL workaround. In the recorded discussion, mfuxi reports manually supplying the secret path in the URL. For a human password workflow, the acceptance exercise should start with a restricted user finding an allowed entry from the normal starting screen. Include the visibility of other secret names in the expected result.
How do I securely distribute Vault secrets to Docker containers?
The author of issue #165 asked for concrete container secret-delivery examples and Docker-specific plugins. HashiCorp's developer quick start supplies a container command for a development server and teaches application client integration. These address server startup and retrieval as separate steps. The production design still needs a defined application identity, its permitted paths and a method for delivering its authentication credentials.
What we have not tested yet
Both recorded installations stopped before an operational Vault instance, leaving secret retrieval, revocation, UI navigation, backup restoration, Raft recovery, load performance and production reliability unassessed. The November disk error does not determine a minimum disk requirement, and the October Git error does not identify why credentials were requested. Image labels do not establish actual runtime or operating-system versions. The November @latest command also prevents treating that attempt as a runtime test of checkout bee4674df62c or release v2.2.2.
The historical issue scenarios have not been reproduced on the intended release. In particular, the Vault 0.11 navigation account cannot determine current suitability for human password discovery; require validation of access-filtered listing and navigation before making that choice. Closed issue labels do not demonstrate which PKI, shutdown or PostgreSQL fixes shipped. The README's Git rewrite, documented client examples and recovery procedures were not executed in these runs.
Vault, OpenBao and AWS Secrets Manager have not been compared here on latency, cost, compatibility or recovery behavior. No Docker-specific plugin or production container identity design was evaluated, and this review is not a legal assessment of a particular licensed use. The next useful exercise is to issue a credential, demonstrate its revocation in the external system, and recover the selected release from a backup with the intended application access restored.


