Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
The Factory will return a vault implementation of creds.Variables.
func NewFactory ¶
func NewFactory(sr SecretReader, prefix string) *Factory
func (*Factory) NewVariables ¶
NewVariables will block until the loggedIn channel passed to the constructor signals a successful login.
type SecretReader ¶
A SecretReader reads a vault secret from the given path. It should be thread safe!
Click to show internal directories.
Click to hide internal directories.