vaultutil

package
v0.0.0-...-9f310f1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// VaultTLSAssetDir is the dir where vault's server TLS and etcd TLS assets sits
	VaultTLSAssetDir = "/run/vault/tls/"
	// ServerTLSCertName is the filename of the vault server cert
	ServerTLSCertName = "server.crt"
	// ServerTLSKeyName is the filename of the vault server key
	ServerTLSKeyName = "server.key"
)

Variables

This section is empty.

Functions

func NewClient

func NewClient(hostname string, port string, tlsConfig *vaultapi.TLSConfig) (*vaultapi.Client, error)

func NewConfigWithDefaultParams

func NewConfigWithDefaultParams(data string) string

NewConfigWithDefaultParams appends to given config data some default params: - telemetry setting - tcp listener

func NewConfigWithEtcd

func NewConfigWithEtcd(data, etcdURL string) string

NewConfigWithEtcd returns the new config data combining original config and new etcd storage section.

Types

This section is empty.

Jump to

Keyboard shortcuts

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