vault-init

command module
v0.0.0-...-071836f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2019 License: MIT Imports: 1 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL