ssm

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 7 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 with AWS services

func New

func New(region string, awsConfig aws.Config) (*Client, error)

New returns clients for AWS services

func (*Client) DeleteObject added in v0.12.0

func (c *Client) DeleteObject(object *types.DeleteObjectInput) error

func (*Client) GetObject

func (c *Client) GetObject(object *types.GetObjectInput) (*types.GetObjectOutput, error)

GetObject returns a secret for given key

func (*Client) GetObjects

func (c *Client) GetObjects(object *types.GetObjectsInput) (*types.GetObjectsOuput, error)

GetObjects returns key value map for given pattern/prefix

func (*Client) PutObject

func (c *Client) PutObject(object *types.PutObjectInput) error

PutObject writes a given secret value on SSM it uses PutParameter API call https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_PutParameter.html

Jump to

Keyboard shortcuts

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