Build Vault from code
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:Clone the Vault repository from GitHub:
Change to the cloned Vault directory:
Bootstrap the Go project to download and compile the libraries and tools needed to compile Vault:
Use
make
to build Vault for your current system:You can copy the compiled binary from
${GOPATH}/src/hashicorp/vault/bin/
.