pub fn save_credential(account: &str, value: &str) -> Result<()>Expand description
Persists a credential to the OS-native keychain when available (macOS
Keychain, Windows Credential Manager, Linux Secret Service via the
keyring crate), falling back to an AES-256-GCM-encrypted local file
when the platform backend is unavailable (e.g. no D-Bus secret-service
daemon running, common in minimal containers) — REQ-2.3.5.