Rabbinatix
Sign inGet started
Store

Remove secrets

FreeLogic
@rabbinatix/remove-secrets by Rabbinatixupdated Oct 4, 2026

Drops `password` and `token` from a record before logging it, and marks it redacted.

Sign in to add

Each node returns a changed copy; the input is never modified. Paths can go deep (auth.token).

Shows: Remove Property, Set Property.

How to use it

Add it to your logic, then add a Call Function step in any logic and pick Remove secrets. It belongs to no system, so every system can use it. Or download the TypeScript and call it from your own code.

Inputs
record: Record
Outputs
safe: Record
Previewdrag the steps around; scroll to zoom
Function Entry, Input / output. 0 inputs, 2 outputs. step 1 of 5
Remove secrets
record
Remove Property, Object. 1 input, 1 output. step 2 of 5
Remove .password
object
result
Remove Property, Object. 1 input, 1 output. step 3 of 5
Remove .auth.token
object
result
Set Property, Object. 2 inputs, 1 output. step 4 of 5
Set .redacted
object
value
result
Return, Input / output. 2 inputs, 0 outputs. step 5 of 5
Return
safe

Arrow keys: next or previous step in flow order. Alt with arrows: nearest step in that direction. Enter: open. Shift F10: more actions.

100%
Examplesrun live against the logic · 2/2 pass
PassedExampleInputOutput
A login{"record":{"user":"ada","password":"hunter2","auth":{"token":"t0k","scheme":"Bearer"}}}{"safe":{"user":"ada","auth":{"scheme":"Bearer"},"redacted":true}}
Nothing to remove{"record":{"user":"bo"}}{"safe":{"user":"bo","redacted":true}}
Try it
Versions
In this package
Remove secrets (entry)