Skip to main content

redact_secrets

Function redact_secrets 

Source
pub fn redact_secrets(args: &[String]) -> Vec<String>
Expand description

Redact potential secrets from command arguments.

Uses pattern matching to identify and replace secret-like values with a placeholder.