vault

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Vault

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

SecretsManager provides access to AWS Secrets Manager.

func New

func New(client *api.Client) *Vault

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

func (*Vault) Get

func (v *Vault) 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