secrets

package
v0.0.0-...-f70214e Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrSecretDoesNotExist = errors.New("secret does not exist")

Functions

This section is empty.

Types

type API

type API interface {
	GetSecretValue(ctx context.Context, params *secretsmanager.GetSecretValueInput,
		optFns ...func(*secretsmanager.Options)) (*secretsmanager.GetSecretValueOutput, error)
}

type Manager

type Manager interface {
	GetSecret(ctx context.Context, id string) (string, error)
}

func NewManager

func NewManager(api API) Manager

Jump to

Keyboard shortcuts

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