Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Vee9 Env GuardNew to Visual Studio Code? Get it now.
Vee9 Env Guard

Vee9 Env Guard

Vee9

|
1 install
| (0) | Free
Hides the values in your .env files so secrets never leak while screen sharing or streaming. Reveal per line, copy without showing, and get warned when .env isn't git-ignored.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🔐 Vee9 Env Guard

Never leak a secret while screen sharing again. Hides every value in your .env files and shows •••••••• instead, right in the editor.


✨ Features

  • Values hidden automatically in .env, .env.local, .env.production, *.env, .envrc and .dev.vars
  • Same-length mask: every value shows as ••••••••, so not even the length leaks
  • Edit as usual: the value on the line with your cursor is shown so you can still change it
  • Streaming Mode: never reveals anything, not even on the cursor line
  • Copy without revealing: right-click → Copy Value Without Revealing
  • One-click toggle in the editor title bar, the status bar or with ⌘⌥H / Ctrl+Alt+H
  • Git safety check: warns you if an .env file isn't in .gitignore and adds it for you
  • Smart parsing: quoted values, multi-line private keys, export KEY=…, inline # comments (stay visible)
  • Harmless keys stay visible: NODE_ENV, PORT, DEBUG, … (configurable)
  • Example files untouched: .env.example, .env.sample and .env.template aren't hidden

🚀 Usage

Just open an .env file. Values are hidden right away.

Action How
Show / hide all values Eye icon in the editor title, status bar, or ⌘⌥H / Ctrl+Alt+H
Edit a value Put the cursor on its line
Copy a value without showing it Right-click → Copy Value Without Revealing
Never reveal anything Command Palette → Vee9 Env Guard: Toggle Streaming Mode

⚙️ Settings

Setting Default Description
vee9EnvGuard.filePatterns .env, .env.*, *.env, .envrc, .dev.vars Files to protect
vee9EnvGuard.excludePatterns .env.example, .env.sample, … Files never hidden
vee9EnvGuard.visibleKeys NODE_ENV, PORT, HOST, … Keys that stay visible
vee9EnvGuard.revealOnCursorLine true Show the value on the cursor line
vee9EnvGuard.mask •••••••• Text shown instead of values
vee9EnvGuard.warnIfNotIgnored true Warn if .env isn't git-ignored

⚠️ Good to know

Env Guard hides values in the editor. Other places can still show file contents, e.g. the global Search panel, Git diffs in some views, hover previews from other extensions, or the terminal (cat .env). For live streams, also add .env* to search.exclude.


Made with 🧡 by Vee9

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft