Polyman Documentation - v3.1.0
    Preparing search index...

    Function redactKnown

    • Hides only the given secrets. For tool output, where the key-like patterns of redact would also hide code (key_count) and long test tokens.

      Parameters

      • text: string
      • secrets: readonly string[]

      Returns string