tools

package
v0.0.0-...-c77f509 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SmFactory

type SmFactory struct {
	// contains filtered or unexported fields
}

SmFactory is a Secrets Manager Factory for wrapping the underlying SecretsManager API.

func NewSecretsManagerFactory

func NewSecretsManagerFactory(smclient secretsmanageriface.SecretsManagerAPI) SmFactory

NewSecretsManagerFactory creates a factory for retreiving secrets from SecretsManager.

func NewSecretsManagerFactoryWithConfig

func NewSecretsManagerFactoryWithConfig(sess *session.Session, cfg *aws.Config) SmFactory

func NewSecretsManagerFactoryWithRegion

func NewSecretsManagerFactoryWithRegion(sess *session.Session, region *string) SmFactory

func NewSmFactory

func NewSmFactory() SmFactory

func (*SmFactory) GetSecretString

func (s *SmFactory) GetSecretString(name string) (*string, error)

GetSecretString will retrieve a secret string SecretsManager.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL