Skip to main content

Module secret

Module secret 

Source
Expand description

Secret handling shared by the net crates: the redacted Secret, the SecretStore interface and MemorySecretStore, an in-memory implementation for tests and ephemeral sessions. This crate holds no production (Keychain / Credential Manager) implementation, and rightkit-credentials does not implement SecretStore (it has its own Store and Secret types and does not depend on this crate). An app that wants OS-backed storage behind this trait implements it itself.

Structs§

MemorySecretStore
In-memory store for tests and ephemeral sessions.
Secret
A string that never prints itself.
SecretError

Traits§

SecretStore
Service/account keyed secret storage. The only implementation in this crate is MemorySecretStore; callers supply any production implementation.