Expand description
The CredentialStore trait and its built-in implementations.
Structs§
- EnvStore
- Reads secrets straight from process environment variables.
- Keyring
Store - OS-keychain-backed store. Delegates to
keyring::Entry. - Literal
Store - Stores a single fixed secret and ignores
service/accountonget. Useful when a tool is hard-wired to a single credential (e.g. test harnesses). - Memory
Store - In-memory store. Ideal for tests and for downstream crates that
need a
dyn CredentialStorewithout touching the OS keychain.
Traits§
- Credential
Store - Backend-agnostic contract for credential storage.