Expand description
Re-export the credential store under the historical
harmont_cli::creds_store path.
File-backed credential store at ~/.config/hm/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.
Constants§
- CLOUD_
SERVICE - Credential
servicename for the cloud bearer token (account = API base URL).
Functions§
- cloud_
token - Resolve the cloud bearer token for
api_base. - delete
- Remove a credential. Silently no-ops if the entry is absent or the underlying write fails.
- forget_
cloud_ token - Remove any stored cloud bearer token for
api_base. - 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.
- set_
cloud_ token - Persist the cloud bearer token for
api_base.