Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Hide My SecretsNew to Visual Studio Code? Get it now.
Hide My Secrets

Hide My Secrets

Emad Alashi

|
809 installs
| (2) | Free
Hides secrets in YAML files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

hide-my-secrets

A Visual Studio Code extension to hide secret text in YAML files. The extension is written live on Twitch on emadashi's channel. So make sure you join every Thursday at 20:00 AEST time.

Hiding Secrets

Acknowledgement

Awesome people in the Twitch channel help without calling for credit, without them this extension wouldn't have been possible. Big thanks to them:

  • @codeandcoffee
  • @jsobell
  • @jothamr
  • Amal Abeygunawardana
  • @pjimmy
  • @hossambarakat
  • @JTango18

Features

Once activated this extension hides secrets in YAML files. The secrets can be identified by configuring the extension and adding keys that are considered secrets e.g. "password", "key", "token"..etc.

Extension Settings

Hide

Toggle the extension on and off to hide/unhide the secrets.

"hide-my-secrets.hide": true,

List of secret keys

Add here all the keys that represent secrets.

"hide-my-secrets.secretKeys": [
        "password",
        "connectionstring",
        "token"
    ]
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft