Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SSMCache ¶ added in v0.3.0
type SSMCache struct {
// contains filtered or unexported fields
}
func New ¶
func New(ctx context.Context, options *SSMCacheOptions) (*SSMCache, error)
New creates a new cache, if options are nil, the defaults are used
Defaults: Secret=true BasePath="/cache" KeyId=nil
type SSMCacheOptions ¶
type SSMCacheOptions struct { // Secret is used to set SSM parameter type, true for SecureString, false for String Secret *bool // BasePath is where the parameters are stored within SSM, excluding trailing slash // // Be sure to update the IAM policy (see README.md) to match this BasePath *string // KeyId is the ARN of KMS key id to use to encrypt parameter value KeyId *string }
Click to show internal directories.
Click to hide internal directories.