consul-template-plugin-secretsmanager

command module
v0.0.0-...-67b64e5 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 License: MIT Imports: 7 Imported by: 0

README

consul-template-plugin-secretsmanager

Plugin for consul-template to retrieve and decrypt from AWS Secrets Manager

Building

Run make from the root directory:

make deps

make build

The built binary is placed in the dist/ directory

Installing

To install with go:

go get -v github.com/chrissav/consul-template-plugin-secretsmanager

Rename, move, or symlink the binary to secretsmanager in your path.

For example (this assumes your $GOPATH is in your $PATH):

ln -s $(which consul-template-plugin-secretsmanager) ~/.go/bin/secretsmanager

Confirm secretsmanager is in your path:

which secretsmanager

Running tests

make test

Usage

export AWS_REGION=<AWS REGION>

Place the binary in the PATH (or use the full path), inside the consul-template use:

{{ plugin "secretsmanager" "path/to/secrets" }}

Contributing

Please see CONTRIBUTING for details.

License

The MIT License (MIT). Please see License File for more information.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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