Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSecretArns ¶
This function reads the secrets ARNs and names from the `secrets.yaml` file provided with the application
Types ¶
type SecretsEnv ¶
type SecretsManager ¶
type SecretsManager struct {
// contains filtered or unexported fields
}
SecretsManage is a simple struct for config params
func NewSecretsManager ¶
func NewSecretsManager(region string, timeout int) *SecretsManager
NewClient returns a Lambda Extensions API client
func (*SecretsManager) FetchSecrets ¶
func (sm *SecretsManager) FetchSecrets(secretsList []map[string]string)
This function initializes the AWS API context and config, `secretsEnv`, the mutex and the waitGroup, launches the go routines and waits for them to return
Click to show internal directories.
Click to hide internal directories.