johnpapa / vscode-cloak

Cloak allows you to hide/show environment keys, to avoid accidentally sharing them with everyone who sees your screen.
MIT License
107 stars 7 forks source link

Secrets are shown if commented out #60

Open michft-v opened 1 month ago

michft-v commented 1 month ago

When you run 2 or more environments in the env file, commented out secrets are shown. This could still leak info, tokens etc.

BASE_URL="               " # Prod
# BASE_URL="http://localhost:8081" # Dev