Skip to content

Intellection/vault-init

Repository files navigation

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.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •