Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSecretCredentialsProvider ¶
func NewSecretCredentialsProvider(credentials *config.SecretRef) aws.CredentialsProvider
Types ¶
type SecretCredentialsProvider ¶
type SecretCredentialsProvider struct {
aws.Credentials
// contains filtered or unexported fields
}
SecretCredentialsProvider is a custom credentials provider that retrieves AWS credentials from a secret every 5 minutes. It implements the aws.CredentialsProvider interface.
func (*SecretCredentialsProvider) Retrieve ¶
func (s *SecretCredentialsProvider) Retrieve(ctx context.Context) (aws.Credentials, error)
Click to show internal directories.
Click to hide internal directories.