AttrEngine.Transform.RedactSecret (attr_engine v0.5.0)

Copy Markdown View Source

Replaces secret values with a presence indicator.

Unlike Redact, this transform distinguishes between "a value exists" and "no value has been set", which is critical for credential UIs where the user needs to know whether a key is configured without seeing it.

  • Non-nil/non-empty values become "[provided]"
  • Nil or empty string becomes "[not set]"