Discover Packages
github.com/libri-gmbh/kube-vault
pkg
processor
package
Version:
v0.0.0-...-1d4acb1
Opens a new window with list of versions in this module.
Published: Mar 8, 2019
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Env handles variables consumed to and written to env vars / a file containing env vars
NewEnv returns a new Env processor instance
func (p *Env ) Process(logicalClient vaultLogicalClient) error
Process reads a list of environment variables and fetches the referenced secrets from vault,
storing the results in a file using the bash export syntax.
type Processor interface {
Process(logger *logrus .Entry , client vaultLogicalClient) error
}
Processor processes env var requirements of an application and renders the result
Source Files
¶
Click to show internal directories.
Click to hide internal directories.