Documentation ¶ Index ¶ type Provider func New(token, addr, path string) (*Provider, error) func (p *Provider) Get(v string) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Provider ¶ type Provider struct { // contains filtered or unexported fields } Provider ... func New ¶ func New(token, addr, path string) (*Provider, error) New ... func (*Provider) Get ¶ func (p *Provider) Get(v string) (string, error) Get retrieves a value from vault using the KV engine. The actual key selected is determined by the value separated by the colon. For example "database:password" will retrieve the key "password" from the path "database". Source Files ¶ View all Source files vault.go Click to show internal directories. Click to hide internal directories.