Skip to main content

redact

Function redact 

Source
pub fn redact(text: &str) -> String
Expand description

text with access-key ids, signatures and other credential material replaced by [redacted]: the content of [REDACTED_ELEMENTS] XML elements, the value after each of [REDACTED_FIELDS], and anything shaped like an AWS access key id (AKIA…, ASIA…: four letters and sixteen more upper-case letters or digits).