Skip to main content

get_secret

Function get_secret 

Source
pub fn get_secret(_key: &str) -> Result<Option<String>>
Expand description

Retrieve a secret from the system keyring.

Returns None if secure-storage is not enabled or the key doesn’t exist.