Documentation
¶
Index ¶
- type Client
- func (c *Client) DeleteObject(object *types.DeleteObjectInput) error
- func (c *Client) GetObject(object *types.GetObjectInput) (*types.GetObjectOutput, error)
- func (c *Client) GetObjects(object *types.GetObjectsInput) (*types.GetObjectsOuput, error)
- func (c *Client) PutObject(object *types.PutObjectInput) error
- type SSMClientInterface
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 (*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
type SSMClientInterface ¶ added in v0.13.0
type SSMClientInterface interface {
GetParameter(context.Context, *ssm.GetParameterInput, ...func(*ssm.Options)) (*ssm.GetParameterOutput, error)
PutParameter(context.Context, *ssm.PutParameterInput, ...func(*ssm.Options)) (*ssm.PutParameterOutput, error)
GetParametersByPath(context.Context, *ssm.GetParametersByPathInput, ...func(*ssm.Options)) (*ssm.GetParametersByPathOutput, error)
DeleteParameter(context.Context, *ssm.DeleteParameterInput, ...func(*ssm.Options)) (*ssm.DeleteParameterOutput, error)
}
Click to show internal directories.
Click to hide internal directories.