secretsmanager

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSSecretManager

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

func (AWSSecretManager) ReadLatestSecret

func (c AWSSecretManager) ReadLatestSecret(ctx context.Context, uri string, output interface{}) error

type Client

type Client interface {
	// ReadLatestSecret reads and deserializes the latest version of JSON-encoded secret.
	ReadLatestSecret(ctx context.Context, uri string, output interface{}) error
}

Client secrets vault client.

func NewAWSSecretManagerFromConfig

func NewAWSSecretManagerFromConfig(config aws.Config) Client

NewAWSSecretManagerFromConfig initiates the AWS Secretsmanager.

Jump to

Keyboard shortcuts

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