Vault
Build Vault from code
[!IMPORTANT]
Documentation Update: Product documentation, which were located in this repository under/website
, are now located inhashicorp/web-unified-docs
, colocated with all other product documentation. Contributions to this content should be done in theweb-unified-docs
repo, and not this one. Changes made to/website
content in this repo will not be reflected on the developer.hashicorp.com website.
Clone the official Vault repo and build a Vault binary from source code for your system.
Create a
hashicorp
source directory under yourGOPATH
and change to the new directory:$ mkdir -p ${GOPATH}/src/hashicorp && cd $_
Clone the Vault repository from GitHub:
$ git clone https://github.com/hashicorp/vault.git
Change to the cloned Vault directory:
$ cd vault
Bootstrap the Go project to download and compile the libraries and tools needed to compile Vault:
$ make bootstrap
Use
make
to build Vault for your current system:$ make dev
You can copy the compiled binary from
${GOPATH}/src/hashicorp/vault/bin/
.