secretsmanager

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: MIT Imports: 9 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 {
	Region string `validate:"required"`
	// contains filtered or unexported fields
}

SecretsManager is a type of AWS Secrets Manager configuration and provider

func New

func New(region string) *SecretsManager

New creates new AWS Secrets Manager instance

func (SecretsManager) GetValue

func (secretsManager SecretsManager) GetValue(secretName string) (string, bool, error)

GetValue returns value from AWS Secrets Manager. Returns 3 variables: value, isJSON, err

Jump to

Keyboard shortcuts

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