Documentation
¶
Overview ¶
Package credentials resolves credential references against environment variables and the OS keyring.
Lookup order for a reference named "github_pat":
- Environment variable OMP_SYNC_GITHUB_PAT
- Keyring entry "github_pat" (via zalando/go-keyring)
The CLI never stores raw secrets in the config file; it stores references.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("credential not found")
ErrNotFound is returned when no credential could be located.
Functions ¶
func EnvName ¶
EnvName returns the environment-variable name a credential would be looked up under. Useful for actionable error messages (SC-007).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.