vault-run

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

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

Go to latest
Published: Dec 2, 2022 License: MPL-2.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

vault-run

Installation

export GOPRIVATE=github.com/hashicorp/vault-client-go
go get github.com/averche/vault-run

Usage

vault login
export VAULT_TOKEN=$(vault print token)
./vault-run ./my-app

This will start ./my-app with all secrets populated as environment variables in the form VAULT_PATH_TO_SECRET

Limitations

  • does not currently work currently
  • does not currently work with non-exact policy paths (should be easy to add)

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
⌂ 换网址