vault

package
v0.0.0-...-2d2c7d9 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PKIIssueCertificateCertKey       = "certificate"
	PKIIssueCertificateCAChainKey    = "ca_chain"
	PKIIssueCertificatePrivateKeyKey = "private_key"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type VaultClient

type VaultClient struct {
	RenewErr chan error
	// contains filtered or unexported fields
}

func NewClient

func NewClient(cfg *config.Config) (*VaultClient, error)

func (*VaultClient) GetAccessor

func (c *VaultClient) GetAccessor() string

func (*VaultClient) GetKV

func (c *VaultClient) GetKV(path string) (map[string]string, error)

func (*VaultClient) GetPKI

func (c *VaultClient) GetPKI(mount, role, cn string, sans []string, cnIsIdentifier bool) (map[string]string, error)

func (*VaultClient) GetToken

func (c *VaultClient) GetToken() string

Directories

Path Synopsis
iam

Jump to

Keyboard shortcuts

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