Expand description
File-backed credential store at ~/.harmont/credentials.toml.
Replaces the OS keyring as the sole backend. The file is written with
mode 0o600 (parent dir 0o700) via hm_util::os::fs::blocking::write_atomic_restricted.
Keyed by (service, account) to match the host-fn ABI plugins use.
Functionsยง
- delete
- Remove a credential. Silently no-ops if the entry is absent or the underlying write fails.
- get
- Read a credential for
(service, account). ReturnsNonewhen the file is missing, unreadable, or the entry is absent. - set
- Write a credential. Silently no-ops on I/O failure so plugin callers match the prior keyring-backed best-effort semantics.