Skip to main content

probe

Function probe 

Source
pub fn probe(service: &str) -> Result<(), String>
Expand description

Check that a usable credential store exists, without storing anything.

Worth calling once at startup rather than discovering the problem at the first secret read: on a headless box every key lookup would otherwise fail one at a time with an error that reads like a missing key rather than a missing keychain.