amazon

package
v0.0.0-...-f47fe49 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// error we can return if there were no configured credentials
	ErrNoCredentials = errors.New("no credentials set to connect to AWS Secrets Manager")
)

Functions

This section is empty.

Types

type SecretsManagerClient

type SecretsManagerClient interface {
	GetSecret(arn string) (*string, error)
	CreateSecret(auth *model.Authentication, value string) (*string, error)
	UpdateSecret(arn string, value string) error
	DeleteSecret(arn string) error
}

func NewSecretsManagerClient

func NewSecretsManagerClient() (SecretsManagerClient, error)

type SecretsManagerClientImpl

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

func (*SecretsManagerClientImpl) CreateSecret

func (s *SecretsManagerClientImpl) CreateSecret(auth *model.Authentication, value string) (*string, error)

func (*SecretsManagerClientImpl) DeleteSecret

func (s *SecretsManagerClientImpl) DeleteSecret(arn string) error

func (*SecretsManagerClientImpl) GetSecret

func (s *SecretsManagerClientImpl) GetSecret(arn string) (*string, error)

func (*SecretsManagerClientImpl) UpdateSecret

func (s *SecretsManagerClientImpl) UpdateSecret(arn string, value string) error

Jump to

Keyboard shortcuts

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