Skip to main content

Module store

Module store 

Source
Expand description

The CredentialStore trait and its built-in implementations.

Structs§

EnvStore
Reads secrets straight from process environment variables.
KeyringStore
OS-keychain-backed store. Delegates to keyring::Entry.
LiteralStore
Stores a single fixed secret and ignores service/account on get. Useful when a tool is hard-wired to a single credential (e.g. test harnesses).
MemoryStore
In-memory store. Ideal for tests and for downstream crates that need a dyn CredentialStore without touching the OS keychain.

Traits§

CredentialStore
Backend-agnostic contract for credential storage.