secretsmanager

package
v0.0.0-...-c450ac1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecretsManager

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

SecretsManager provides access to AWS Secrets Manager.

func New

func New(sm awsSecretsManager) *SecretsManager

NewSecretsManager returns a SecretsManager instance configured to use the given AWS Secrets Manager client.

func (*SecretsManager) Get

func (s *SecretsManager) Get(id string) (map[string]interface{}, error)

Get retrieves the secret from AWS Secrets Manager for the given identifier, either an ARN or the configured name of the desired secret.

Jump to

Keyboard shortcuts

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