Skip to main content

resolve_key

Function resolve_key 

Source
pub fn resolve_key() -> Result<SecretString, String>
Expand description

Resolve the secret key from MURK_KEY or MURK_KEY_FILE. MURK_KEY takes priority; MURK_KEY_FILE reads the key from a file. Returns the key wrapped in SecretString so it is zeroized on drop.