Sign inSign up

zappi/vault-init

By zappi

Updated almost 7 years ago

Image
0

323

zappi/vault-init repository overview

Vault Init

Build Status

This is a tool to automate initialising Vault, encrypting the resulting root token with AWS KMS, and storing that token on AWS S3.

Development

The instructions below are only necessary if you intend to work on the source code.

Requirements
  1. Ensure that you have a properly configured Go workspace.
  2. For dependency management, you'll need dep which can be installed with brew install dep.
Building
  1. Fetch the code with go get -v github.com/Intellection/vault-init.
  2. Install the Go development tools via make tools.
  3. Install dep via curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh. brew install dep can also be used if using macOS.
  4. Install application dependencies via make dependencies (they'll be placed in ./vendor). Requires [golang/dep][dep] package manager.
  5. Build and install the binary with make build tag=x.y.z.
Testing
  1. Install the Go testing tools via make tools.
  2. Run linter using make lint and test using make test.

Tag summary

Content type

Image

Digest

Size

293.8 MB

Last updated

almost 7 years ago

docker pull zappi/vault-init:0.0.1