command
module
Version:
v0.0.0-...-071836f
Opens a new window with list of versions in this module.
Published: Nov 13, 2019
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Vault Init

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
- Ensure that you have a properly
configured Go workspace.
- For dependency management, you'll need
dep which can be installed with
brew install dep.
Building
- Fetch the code with
go get -v github.com/Intellection/vault-init.
- Install the Go development tools via
make tools.
- Install
dep via curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh. brew install dep can also be used if using macOS.
- Install application dependencies via
make dependencies (they'll be placed
in ./vendor). Requires [golang/dep][dep] package manager.
- Build and install the binary with
make build tag=x.y.z.
Testing
- Install the Go testing tools via
make tools.
- Run linter using
make lint and test using make test.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.