govaulte

command module
v0.0.0-...-e915651 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

README

govaulte

govaulte aims to use approle to acces secret which in hashicorp Vault and produce runtime environment for executing program to get secret what it wants.

Build

  • make build (for amd64)
  • go build . (for your os version)

Test your vaulte credential is worked

  1. Export your credential to local environments. (see also vaulte-credential-generator)
export $(xargs < vaulte_credential)
  1. check govaulte get your secret in the right way.
govaulte /bin/bash -l -c "export"

Running your code with govaulte

  • example
    • /usr/sbin/govaulte /path/to/your/app/bin/main -argv1=data1 -argv2=data2 command1
    • /usr/sbin/govaulte /bin/bash -l -c "cd /path/to/your/workdir/; ./bin/main"

Reference

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