Documentation
¶
Overview ¶
Package auto picks the credential backend for the platform it is built for.
It exists for multiplatform CLIs that just want "whatever this machine has". Code that knows its environment should skip it and inject the backend directly — a browser application imports keyring/browser, not this package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New() *keyring.KeyManager
New is keyring.New with the platform's provider already chosen.
Types ¶
type Keyring ¶
Keyring is an alias so callers need only this import.
func NewKeyring ¶
NewKeyring is keyring.NewKeyring with the platform's provider already chosen.
func OpenKeyring ¶
OpenKeyring is keyring.OpenKeyring with the platform's provider already chosen.
Click to show internal directories.
Click to hide internal directories.