vault

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSVault

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

func NewAWSVault

func NewAWSVault(client SecretsManagerAPI) *AWSVault

func (*AWSVault) GetValue

func (v *AWSVault) GetValue(ctx context.Context, key string) ([]byte, error)

type SecretsManagerAPI

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

SecretsManagerAPI interface for AWS Secrets Manager Client.

Jump to

Keyboard shortcuts

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