vault

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: May 1, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Address contains the vault address
	Address string

	// Token contains the token to use for vault connection
	Token string

	// Path contains the location of the secret
	Path string
}

Config contain connection element for vault implementation

func (*Config) GetSecret

func (c *Config) GetSecret(key ci.SecretKind, rec interface{}, log logr.Logger) error

GetSecret returns the secret data from vault

Jump to

Keyboard shortcuts

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