Documentation
¶
Overview ¶
Package secrets resolves durable opaque references without placing values in configuration, process arguments, or environment variables.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidReference = errors.New("invalid keychain reference") ErrItemNotFound = errors.New("macOS Keychain item not found") )
Functions ¶
This section is empty.
Types ¶
type Keychain ¶
type Keychain struct {
// contains filtered or unexported fields
}
func NewKeychain ¶
func NewKeychain(run commandRunner) *Keychain
type Reference ¶
Reference is a validated macOS Keychain generic-password identity.
func ParseReference ¶
ParseReference validates a keychain://service/account reference without retaining or echoing the original input in errors.