Help us shape the future of Go! Take the 2026 Go Developer Survey

secret

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	TTL time.Duration
}

type SecretManager

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

func NewManager

func NewManager(opts Options) *SecretManager

func NewManagerFromConfig

func NewManagerFromConfig(cfg modules.SecretConfig) (*SecretManager, error)

func (*SecretManager) AddProvider

func (p *SecretManager) AddProvider(name string, prov provider.Provider)

func (*SecretManager) ResolveReference

func (p *SecretManager) ResolveReference(ctx context.Context, ref *reference.Reference) (value string, err error)

ResolveReference returns resolved value of a reference

func (*SecretManager) WithLogger

func (p *SecretManager) WithLogger(log *zap.SugaredLogger) *SecretManager

Directories

Path Synopsis
aws

Jump to

Keyboard shortcuts

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