[FEATURE REQUEST] Copy as cURL redacted or managing redacted at environment variable level
- Dominant language
- TypeScript
- Stars
- 40k
- Forks
- 2.4k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
**Is your feature request related to a problem? Please describe.**
I am very frustrated because it's been twice now that I copy a request as curl for the sake of asking for help and when pasting the curl the headers are not redacted although they could contain sensitive information e.g. an API key
**Describe the solution you'd like**
It's not clear to me about how but probably adding an option like Copy as cURL (redacted) could be a way to deal with this.
**Describe alternatives you've considered**
Well copy paste and editing myself before clicking send in a chat.
**Additional context**

I mean this is ugly but you get the idea

The idea would be to copy headers variables as redacted optionally also redacted could be a variable option I don't know but it's a real pain to have to obfuscate data when we sharing configurations to be fair (Letterkenny reference here) the fact that we cannot obfuscate when sharing envs kind makes me wonder continuing using insomnia which is a real bummer because I love the product but it cannot be used across teams if we can't easily manage sensitive data at variable level.
That being said I'm broadly off topic with this last comment.
Cheers
Contributor guide
Research direction
No files, tests, or entry points are named in the issue. Start by locating the Copy as cURL action and environment-variable handling, then determine how optional redaction should apply to headers and shared environment values. Done means users can safely copy a redacted request and manage redaction for sensitive variables without exposing their values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 20/100