client

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Vault

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

Vault is the structure to get the secret client from go-mod-secrets vault package

func NewVault

func NewVault(ctx context.Context, config vault.SecretConfig, lc logger.LoggingClient) Vault

NewVault is the constructor for Vault in order to get the Vault secret client

func (Vault) Get

func (c Vault) Get(secretStoreInfo common.SecretStoreInfo) (pkg.SecretClient, error)

Get is the getter for Vault secret client from go-mod-secrets

Jump to

Keyboard shortcuts

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