vault

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(store model.ConfigStore, opts ...Opts) (secrets.Plugin, error)

New returns a new store with secrets loaded from vault.

Types

type Opts

type Opts func(v *vault)

Opts sets custom options for the vault client.

func WithRenewal

func WithRenewal(d time.Duration) Opts

WithRenewal returns an options that sets the renewal period used to refresh periodic tokens

func WithTTL

func WithTTL(d time.Duration) Opts

WithTTL returns an options that sets a TTL used to refresh periodic tokens.

Jump to

Keyboard shortcuts

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