secretstorage

package
v1.19.9 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsSecretManager

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

func NewAwsSecretManager

func NewAwsSecretManager(config AwsSecretManagerConfig) *AwsSecretManager

func (*AwsSecretManager) Retrieve

func (a *AwsSecretManager) Retrieve(key string) (string, error)

type AwsSecretManagerConfig

type AwsSecretManagerConfig struct {
	SecretKey   string `yaml:"aws_secret_key"`
	SecretKeyID string `yaml:"aws_secret_key_id"`
	Region      string `yaml:"aws_region"`
}

type MockSecretManager

type MockSecretManager struct {
}

func NewMockSecretManager

func NewMockSecretManager(config MockSecretManagerConfig) *MockSecretManager

func (*MockSecretManager) Retrieve

func (a *MockSecretManager) Retrieve(key string) (string, error)

type MockSecretManagerConfig

type MockSecretManagerConfig struct {
	SomeSetting string `yaml:"some_setting"`
}

Jump to

Keyboard shortcuts

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