secret

package
v0.44.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2019 License: MIT Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvironmentSecretService

type EnvironmentSecretService struct {
}

func (EnvironmentSecretService) LoadSecret

func (ess EnvironmentSecretService) LoadSecret(ctx context.Context, k string) (string, error)

type Service

type Service interface {
	// LoadSecret retrieves the secret value v found at key k given the calling context ctx.
	LoadSecret(ctx context.Context, k string) (string, error)
}

Service generalizes the process of looking up secrets based on a key.

Jump to

Keyboard shortcuts

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