Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Secret MaskerNew to Visual Studio Code? Get it now.
Secret Masker

Secret Masker

Rohit Shirke

|
1 install
| (1) | Free
Visually masks values in .env and other configured secret files to reduce accidental disclosure.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Secret Masker

A small VS Code extension that visually masks values in .env and other configured secret files.

It is designed to reduce accidental secret disclosure while:

  • sharing your screen
  • recording demos
  • presenting code
  • pair programming
  • working in public environments

Example

Given:

API_KEY=super-secret-api-key
DATABASE_PASSWORD=my-database-password
PORT=3000
NODE_ENV=development
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft