retriever

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetParameterFromSSM

func GetParameterFromSSM(ctx context.Context, c SSMClient, log *logrus.Logger, name string, encrypted bool, encoded bool) (string, error)

GetParameterFromSSM retrieves the parameter from SSM

func GetSecretFromVault

func GetSecretFromVault(path string, encoded bool, log *logrus.Logger, c *vault.Logical) map[string]string

Types

type SSMClient added in v0.5.0

type SSMClient interface {
	GetParameter(ctx context.Context, params *ssm.GetParameterInput, optFns ...func(*ssm.Options)) (*ssm.GetParameterOutput, error)
}

Jump to

Keyboard shortcuts

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