secman

package
v0.0.0-...-1cc4564 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCodeDecryptionFailure         = errors.New("secrets manager can't decrypt the protected secret text using the provided KMS key")
	ErrCodeInternalServiceError      = errors.New("an error occurred on the server side")
	ErrCodeInvalidParameterException = errors.New("you provided an invalid value for a parameter")
	ErrCodeInvalidRequestException   = errors.New("you provided a parameter value that is not valid for the current state of the resource")
	ErrCodeResourceNotFoundException = errors.New("we can't find the resource that you asked for")
	ErrUnknown                       = errors.New("unknown error")
)

Functions

func NewConfigProvider

func NewConfigProvider(sess *session.Session, env string) provider.Provider

Types

type DBConfig

type DBConfig struct {
	DbClusterIdentifier string `json:"dbClusterIdentifier"`
	Password            string `json:"password"`
	Engine              string `json:"engine"`
	Port                int    `json:"port"`
	Host                string `json:"host"`
	Username            string `json:"username"`
}

Jump to

Keyboard shortcuts

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