Versions in this module Expand all Collapse all v1 v1.1.0 Jun 21, 2026 Changes in this version + const VAULT_SELECTION_AUTO + var ErrNotFound = errors.New("secret not found in keyring") + var ErrSetDataTooBig = errors.New("data passed to Set was too big") + var ErrUnsupportedPlatform = errors.New("unsupported platform: " + runtime.GOOS) + func Delete(keyringSelection, service, user string) error + func ExpandTilde(dir string) (string, error) + func Get(keyringSelection, service, user string) (string, error) + func MockInit() + func MockInitWithError(err error) + func Remove(key string) error + func Set(keyringSelection, service, user, password string) error + func TerminalPrompt(prompt string) (string, error) + type Keyring interface + Delete func(service, user string) error + Get func(service, user string) (string, error) + Set func(service, user, password string) error + type PromptFunc func(string) (string, error) + func FixedStringPrompt(value string) PromptFunc