ssm

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client is a wrapper of SSM API client

func NewClient

func NewClient(api ssmiface.SSMAPI) *Client

NewClient creates new Client object with the given API client

func (*Client) LoadSecret

func (c *Client) LoadSecret(ctx context.Context, name string) (string, error)

LoadSecret retrieves decrypted secret from Parameter Store

type ClientInterface

type ClientInterface interface {
	LoadSecret(ctx context.Context, name string) (string, error)
}

ClientInterface is an interface of a wrapper of SSM API client

Jump to

Keyboard shortcuts

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