Vault
Build Vault from code
Clone the official Vault repo and build a Vault binary from source code for your system.
Create a
hashicorpsource directory under yourGOPATHand change to the new directory:$ mkdir -p ${GOPATH}/src/hashicorp && cd $_Clone the Vault repository from GitHub:
$ git clone https://github.com/hashicorp/vault.gitChange to the cloned Vault directory:
$ cd vaultBootstrap the Go project to download and compile the libraries and tools needed to compile Vault:
$ make bootstrapUse
maketo build Vault for your current system:$ make devYou can copy the compiled binary from
${GOPATH}/src/hashicorp/vault/bin/.