Skip to main content

resolve_secrets

Function resolve_secrets 

Source
pub fn resolve_secrets(
    vault: &Vault,
    murk: &Murk,
    pubkey: &str,
    tags: &[String],
) -> BTreeMap<String, Zeroizing<String>>
Expand description

Merge scoped overrides over shared values and filter by tag. Returns raw (unescaped) values suitable for env var injection.

Values are wrapped in Zeroizing so plaintext is cleared from memory when the returned map is dropped.