keyring

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrBackEndCannotBeNil = errors.New("backend cannot be nil")

Functions

func New

func New(profile string, backend Backend) *frontend

New returns a keyring frontend to manage qubesome secrets.

Types

type Backend

type Backend interface {
	// Set stores the value in a keyring service for user.
	Set(service, user, password string) error
	// Get returns the value stored in a keyring service for user.
	Get(service, user string) (string, error)
	// Delete removes any stored values in a keyring service.
	Delete(service, user string) error
}

type SecretName

type SecretName string
const (
	MtlsCA         SecretName = "mtls-ca"
	MtlsClientCert SecretName = "mtls-client-cert"
	MtlsClientKey  SecretName = "mtls-client-key"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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