ssm

package
v0.0.0-...-7db9457 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: Apache-2.0 Imports: 8 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) GetObject

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

GetObject returns a secret for given key

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