dynamo

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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 represents a security provider which uses hashicorp vault to store secrets.

func NewProvider

func NewProvider() *Provider

NewProvider creates a new environment security provider.

func (*Provider) Configure

func (p *Provider) Configure(config map[string]interface{}) (err error)

Configure configures the security provider.

func (*Provider) GetCache

func (p *Provider) GetCache() (autocert.Cache, bool)

GetCache returns a certificate cache which can use the secrets store to read/write x509 certs.

func (*Provider) GetSecret

func (p *Provider) GetSecret(secretName string) (string, bool)

GetSecret retrieves a secret from the provider

func (*Provider) Name

func (p *Provider) Name() string

Name returns the name of the security provider.

Jump to

Keyboard shortcuts

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