ssm

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sess

func Sess() *session.Session

Sess init new config session

Types

type Client

type Client struct {
	ssmiface.SSMAPI
}

func New

func New() (*Client, error)

func (*Client) DecodeSecrets

func (c *Client) DecodeSecrets(secrets map[string]string) (map[string]string, error)

DecodeSecrets will convert from gzipped, base64 encoded values to strings.

func (*Client) EncodeSecrets

func (c *Client) EncodeSecrets(secrets map[string]string) (map[string]string, error)

EncodeSecrets will convert from strings to gzipped, base64 encoded values.

func (*Client) GetSecrets

func (c *Client) GetSecrets(parampath string) (map[string]string, error)

GetSecrets queries ssm parameter store for a given path and returns of map of key values.

func (*Client) PutSecrets

func (c *Client) PutSecrets(parampath string, secrets map[string]string, overwrite bool, advanced bool) error

Jump to

Keyboard shortcuts

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