Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBackEndCannotBeNil = errors.New("backend cannot be nil")
Functions ¶
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" )
Click to show internal directories.
Click to hide internal directories.