secrets

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSSecretsManager

type AWSSecretsManager struct {
	AWSSecretsManagerConfig
	// contains filtered or unexported fields
}

func (AWSSecretsManager) Lookup

func (s AWSSecretsManager) Lookup(key string) (string, error)

type AWSSecretsManagerConfig

type AWSSecretsManagerConfig struct {
	TTL int32 // How long to cache secrets in seconds. Cache disabled if less than 0. Defaults to 1 hour

	Access  string
	Secret  string
	Region  string
	Profile string

	Separator string

	Endpoint string // For non-AWS (e.g. localstack)
}

type AWSSecretsManagerSecreter

type AWSSecretsManagerSecreter struct {
}

func (AWSSecretsManagerSecreter) Initialize

func (AWSSecretsManagerSecreter) InitializeConfig

func (s AWSSecretsManagerSecreter) InitializeConfig() any

func (AWSSecretsManagerSecreter) Name

type Noop

type Noop struct {
	NoopConfig
	// contains filtered or unexported fields
}

func (Noop) Lookup

func (s Noop) Lookup(key string) (string, error)

type NoopConfig

type NoopConfig struct {
}

type NoopRegistration

type NoopRegistration struct {
}

func (NoopRegistration) Initialize

func (s NoopRegistration) Initialize(cfgAny any, errorMessages config.ErrorMessages) (secret.Secreter, error)

func (NoopRegistration) InitializeConfig

func (s NoopRegistration) InitializeConfig() any

func (NoopRegistration) Name

func (s NoopRegistration) Name() string

Jump to

Keyboard shortcuts

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