Documentation
¶
Overview ¶
Package secretsmanager provide methods to get data from AWS Secret Manager
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSConfig ¶
type AWSConfig struct {
Region string
}
AWSConfig store configuration used to initialize secrets manager client.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents an AWS Secrets Manager client
type SecretSpec ¶
SecretSpec represent specs of secret to be searched If Key field is not set then package will return first secret key stored in secret name.
type SecretString ¶
SecretString is a concret representation of an AWS Secrets Manager Secret String
type SecretsManagerAPI ¶ added in v0.6.5
type SecretsManagerAPI interface {
GetSecretValue(ctx context.Context, params *secretsmanager.GetSecretValueInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.GetSecretValueOutput, error)
}
SecretsManagerAPI defines the interface for AWS Secrets Manager operations
Click to show internal directories.
Click to hide internal directories.