I just realized that Cloak can't hide secrets I might store in other file formats. And before I go down into a rabbit hole I wanted to write down my idea.
Could we detect lines with value assignments to variables or to properties and when the variable/propery name matches a the (configurable) list of pattern it would cloak the value part of the line.
Basically a very similar logic how we can set PSReadLine of PowerShell to exclude sensitive stuffs from the history:
I just realized that Cloak can't hide secrets I might store in other file formats. And before I go down into a rabbit hole I wanted to write down my idea.
Could we detect lines with value assignments to variables or to properties and when the variable/propery name matches a the (configurable) list of pattern it would cloak the value part of the line.
Basically a very similar logic how we can set PSReadLine of PowerShell to exclude sensitive stuffs from the history:
Would this be possible to do?