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 ¶ added in v0.2.0
type AWSConfig struct {
Region string
}
AWSConfig store configuration used to initialize secrets manager client.
type Client ¶ added in v0.2.0
type Client struct {
// contains filtered or unexported fields
}
Client represents an AWS Secrets Manager client
maps to ProviderServices
func (*Client) GetSecret ¶ added in v0.2.0
func (c *Client) GetSecret(spec *SecretSpec) (string, error)
GetSecret return an AWS Secret Manager secret in plain text from a given secret name
func (*Client) SecretsManager ¶ added in v0.2.0
func (c *Client) SecretsManager() secretsmanageriface.SecretsManagerAPI
SecretsManager returns a representation of the Secrets Manager API
type SecretSpec ¶ added in v0.2.0
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.
maps to ClusterConfig
type SecretString ¶
SecretString is a concret representation of an AWS Secrets Manager Secret String
Click to show internal directories.
Click to hide internal directories.