Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>KeycatNew to Visual Studio Code? Get it now.
Keycat

Keycat

Micheal Peter

|
7 installs
| (1) | Free
Zero-knowledge environment variable manager — manage, sync and back up your .env files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Keycat 🔑

Never lose your API keys again. Keycat encrypts your .env files and backs them up to your own private GitHub Gist — no servers, nothing to trust.

Keycat in VS Code

Why Keycat

.env files are kept out of git on purpose, so when a laptop dies they're simply gone. Keycat was built after exactly that: every API key for a startup lost to a hardware failure, re-sourced one by one.

Keycat keeps your normal .env workflow. It just makes those files encrypted, backed up, synced between your machines, and harder to leak.

Features

Your keys, safe

  • 🔐 Zero-knowledge encryption — AES-256-GCM with Argon2id. Everything is encrypted on your machine; nobody else, including Keycat, can read it
  • 🔑 Two ways in — your master password, or a 12-word recovery phrase if you forget it
  • 🔒 Auto-lock — locks itself after 15 minutes without use
  • 📋 Copy without leaking — copied values are cleared from the clipboard after 30 seconds

Backup and sync

  • ☁️ GitHub Gist backup — one encrypted file in your own private Gist
  • 🖥️ Every machine in step — edits on one machine show up on the others when you switch back to VS Code; edits made on two machines are merged, not overwritten
  • 🔁 Password changes everywhere — change it once and every device follows
  • ⚖️ Conflict review — when the same key changes on two devices at once, pick which one to keep
  • 💻 New laptop in a minute — sign in to GitHub, enter your password, every project is back

Works with how you already use .env

  • 📁 Finds every .env file — .env, .env.test, .env.production… one profile each
  • ✍️ Live — edit the file on disk and Keycat picks it up; write any profile back with one click
  • 🌿 Branch-aware — switch git branch and Keycat offers the matching profile
  • 🏢 Monorepos — each app in the repo is its own project

Stops leaks before they happen

  • 🛡️ Leak guard — warns when a .env file is committed to git or missing from .gitignore, and fixes it in one click
  • 📄 .env.example generator — every key name, no values, kept up to date automatically

Getting started

  1. Install Keycat from the Extensions panel, or run code --install-extension MichealPeter.keycat
  2. Open a project that has a .env file
  3. Press Ctrl+Shift+K (Cmd+Shift+K on Mac), or click 🔑 Keycat in the status bar → Open Keycat
  4. Create a master password and write down your recovery phrase
  5. Connect GitHub for backup (recommended)

Already use Keycat on another computer? Choose Restore from GitHub backup on the first screen and enter the password from that computer.

Commands and shortcuts

Action Windows / Linux Mac
Open Keycat Ctrl+Shift+K Cmd+Shift+K
Copy a key's value Ctrl+Alt+K Cmd+Alt+K

Click 🔑 Keycat in the status bar for a menu with everything below, or search the Command Palette for "Keycat":

  • Copy Key… — search all keys, copy the value
  • Write Profile to Disk… — write a profile to its .env file
  • Update .env.example — create or refresh the template
  • Sync Now · Lock · Import .env File · Add Current Workspace

Settings

Setting Default What it does
keycat.autoLockMinutes 15 Lock after this many minutes without use. 0 = never
keycat.clearClipboardSeconds 30 Clear a copied key from the clipboard after this many seconds. 0 = keep it
keycat.leakGuard.enabled true Warn about .env files git could leak

How it works

.env files ──► Keycat ──► encrypted on your machine ──► vault on disk
                                                    └──► your private GitHub Gist
  • One random data key encrypts the vault. It is itself locked twice — once by your password, once by your recovery phrase — so changing your password re-locks a 32-byte key, not your data
  • Passwords go through Argon2id (64 MB, 3 iterations), which makes guessing them on GPUs expensive
  • Every sync downloads the cloud copy, merges it key by key with yours, then uploads — so no machine overwrites another
  • Folder paths stay on each machine; only the encrypted vault and project names are uploaded

Contributing

Issues and pull requests are welcome — please open an issue before a large change.

License

MIT — see LICENSE


Built by Micheal Peter · VS Code Marketplace · GitHub

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