secrets

package
v0.0.0-...-2ef827d Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	// Initialize will initialize the client with the given configuration
	Initialize(ctx context.Context, config env.Reader) (err error)
	// Get retrieves a secret from the vault for the given key
	Get(ctx context.Context, key string) (value string, err error)
	// Set will add or update a secret value for the given key
	Set(ctx context.Context, key string, value string) (err error)
	// Delete will remove a secret from the vault for the given key
	Delete(ctx context.Context, key string) (err error)
}

Jump to

Keyboard shortcuts

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