Support for redacting private/sensitive information #16421
Labels
Area-Output
Related to output processing (inserting text into buffer, retrieving buffer text, etc.)
Issue-Task
It's a feature request, but it doesn't really need a major design.
Product-Terminal
The new Windows Terminal.
Milestone
Description of the new feature/enhancement
I'd like the ability to automatically mask sensitive information in terminal windows. Masking application output would be great; masking user input (e.g., passwords on command line) would be nice as well.
This would be useful when screen sharing, demos, and when recording screencasts.
Warp does this.
Proposed technical implementation details (optional)
Terminal needs to know what to mask. At the very least it should have a user-editable series of regexes to detect potentially sensitive information. Even better would be integration with GitHub's existing secret scanning code, masking anything that matches GitHub's token patterns.
Masked information could use a specific Unicode character (or one of a few similar Unicode characters), so it's as obvious as possible that the output was masked.
Ideally, copying a masked value would copy the original plaintext, so copy/paste works the same as it always does, ignoring the masking.
The text was updated successfully, but these errors were encountered: