warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
21.42k stars 374 forks source link

Provide a flag to mask sensitive values in the Warp terminal output #5258

Closed NileshGule closed 2 months ago

NileshGule commented 2 months ago

Dupe Check

Describe the solution you'd like?

While working with different cloud providers there are times when sensitive information is output on the console output. Provide an option to mask the values like Azure subscription id, resource IDs for objects created using a tool like Terrafrom. This is quite useful when we use Warp for content creation and do not want to expose sensitive information in the recordings.

Is your feature request related to a problem? Please describe.

I ma a content creator and need to spend lot of time masking the sensitive information output on the terminal. If there is a flag provided to mask the output, it will help a lot

Additional context

No response

How important is this feature to you?

3

Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1

None

dannyneira commented 2 months ago

Hi @NileshGule Warp has a feature called Secret Redaction which is meant for this use case. https://docs.warp.dev/features/secret-redaction

You can add custom regex patterns to the default list which includes things like IP, AWS keys, etc. to further redact other text in the terminal output.

Closing as this feature exists, but please let us know if any issues with it.

NileshGule commented 2 months ago

@dannyneira you can close the issue. I loved the secret redaction feature so much that I ended up creating a YouTube video about it

https://youtu.be/x6wvNKCuqLY