pub fn redact_json(
input: &Value,
policy: &SecretPolicy,
) -> Result<RedactedTree, SecretError>Expand description
Redacts a JSON boundary value and records logical secret references.
ยงErrors
Returns an error when a secret key cannot form a stable reference name.