Skip to content

A VSCode extension to hide secrets in YAML and JSON files.

Notifications You must be signed in to change notification settings

eashi/hide-my-secrets

Repository files navigation

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:

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"
    ]