Skip to main content

redact_secrets

Function redact_secrets 

Source
pub fn redact_secrets(
    value: &Value,
    scope: &str,
    vault: &mut BTreeMap<String, String>,
) -> Value
Expand description

Deep copy with every string under a credential-shaped key replaced by a {dotenv} ref, the value handed to the vault.