Documentation
¶
Overview ¶
Package credentials stores application credentials in the operating system's credential vault. It intentionally has no plaintext-file fallback.
Index ¶
Constants ¶
View Source
const Service = "Overkill CLI credentials"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NativeStore ¶
type NativeStore struct{}
NativeStore uses macOS Keychain, Windows Credential Manager, or Linux Secret Service through go-keyring. Constructing it does not access a vault.
func (NativeStore) Delete ¶
func (NativeStore) Delete(account string) error
func (NativeStore) Set ¶
func (NativeStore) Set(account, secret string) error
Click to show internal directories.
Click to hide internal directories.