Documentation ¶
Overview ¶
Package ssm implements sidecred.SecretStore on top of AWS Parameter store.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(client SSMAPI, options ...option) sidecred.SecretStore
New creates a new sidecred.SecretStore using AWS Secrets Manager.
func WithKMSKeyID ¶
func WithKMSKeyID(k string) option
WithKMSKeyID sets the default KMS key ID to use when encrypting the secret.
func WithSecretTemplate ¶ added in v0.7.0
func WithSecretTemplate(t string) option
WithSecretTemplate sets the path template when instantiating a new store.
Types ¶
type SSMAPI ¶
type SSMAPI interface { PutParameter(input *ssm.PutParameterInput) (*ssm.PutParameterOutput, error) GetParameter(input *ssm.GetParameterInput) (*ssm.GetParameterOutput, error) DeleteParameter(input *ssm.DeleteParameterInput) (*ssm.DeleteParameterOutput, error) }
SSMAPI wraps the interface for the API and provides a mocked implementation.
Click to show internal directories.
Click to hide internal directories.