Documentation ¶
Overview ¶
Package secret retrieves secrets.
Index ¶
Constants ¶
View Source
const ( DefaultSecretsManagerPrefix = "aws-secretsmanager" DefaultParameterStorePrefix = "aws-parameterstore" DefaultS3Prefix = "aws-s3" DefaultDynamoDbPrefix = "aws-dynamodb" DefaultLambdaPrefix = "aws-lambda" DefaultHTTPPrefix = "#http" )
Define default prefixes for Secrets Manager and Parameter Store.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { Printf boilerplate.FuncPrintf // defaults to log.Printf PrefixSecretsManager string // defaults to "aws-secretsmanager" PrefixParameterStore string // defaults to "aws-parameterstore" PrefixS3 string // defaults to "aws-s3" PrefixDynamoDb string // defaults to "aws-dynamodb" PrefixLambda string // defaults to "aws-lambda" PrefixHTTP string // defaults to "#http" RoleArn string RoleSessionName string CrashOnQueryError bool CacheTTL time.Duration // defaults to 1 minute }
Options provide optional parameters for client.
Click to show internal directories.
Click to hide internal directories.