vault

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SecretKeyName = "secret"
)

Variables

This section is empty.

Functions

func NewPlugin

func NewPlugin(cfg config.Config) plugin.Plugin

func NewStore

func NewStore(cfg config.Config) cnabsecrets.Store

Types

type Plugin

type Plugin struct {
	cnabsecrets.Store
}

Plugin is the plugin wrapper for accessing secrets from Vault.

type Store

type Store struct {
	// contains filtered or unexported fields
}

Store implements the backing store for secrets in azure key vault.

func (*Store) Connect

func (s *Store) Connect() error

func (*Store) Resolve

func (s *Store) Resolve(keyName string, keyValue string) (string, error)

Jump to

Keyboard shortcuts

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