Documentation
¶
Overview ¶
Package store persists the Hadron access token, preferring the OS keychain and falling back to a 0600 file when no keychain is available (CI containers, headless boxes).
Index ¶
Constants ¶
View Source
const EnvToken = "HADRON_TOKEN"
EnvToken is the environment variable that overrides any stored token (CI and scripting; same role as GH_TOKEN for gh).
Variables ¶
View Source
var ErrNotFound = errors.New("no stored token")
ErrNotFound is returned when no token is stored for a host.
Functions ¶
This section is empty.
Types ¶
type Keyring ¶
type Keyring struct{}
Keyring stores tokens in the OS keychain (macOS Keychain, libsecret, Windows Credential Manager).
Click to show internal directories.
Click to hide internal directories.