Zero-plaintext credential protection & interactive UI masking for sensitive secrets in Obsidian.
Zero-Plaintext Credential Protection & Interactive UI Masking for Sensitive Secrets
Do you keep OpenAI/Anthropic API keys, database connection strings, personal access tokens, or sensitive passwords in your Obsidian notes?
In typical Obsidian setups, secrets are stored in raw plaintext Markdown files. This exposes your credentials to:
KeyMask solves this by encrypting sensitive secrets with AES-256-GCM and replacing them in your editor with interactive, beautiful UI pills. Secrets stay encrypted on disk and in memory until you need them.
Secrets render as clean, elegant UI pills in both Live Preview and Reading View:
[ 🔑 OpenAI API Key •••••••••••••••••••• | 📋 Copy | 👁️ ]
Copy-pasting an API key or database credential into your note? KeyMask automatically recognizes sensitive token patterns (OpenAI, Anthropic, GitHub, AWS, Stripe, Database URIs, SSH keys) and immediately displays an interception prompt:
Scan your entire vault or specific folders in seconds to find any exposed API keys, passwords, or tokens that were already saved in plaintext:
Need to copy a password or API key?
org.nspasteboard.ConcealedType on macOS and clipboard exclusion flags on Windows) so managers like Raycast, Alfred, and 1Password ignore the secret.Need to secure an entire note rather than individual tokens? Convert any note into a full AES-256-GCM encrypted document with zero plaintext at rest.
Your data is always yours:
keymask-standalone-decryptor.html) you can run in any browser without Obsidian installed.You can protect secrets using any of three simple methods:
Method A: Quick Insert Dialog
Open the Command Palette (Cmd/Ctrl + P) → KeyMask: Insert Encrypted Secret.
Enter your secret and an optional label (e.g. Production OpenAI Key). KeyMask inserts the masked token directly into your active note.
Method B: Highlight & Encrypt
Highlight any sensitive text in an existing note → Right-click → KeyMask: Encrypt Selected Text.
Method C: Automatic Paste Detection
Simply paste an API key (e.g. sk-... or ghp_...). KeyMask detects the token pattern and offers to encrypt it instantly.
KeyMask: Lock Vault to purge the encryption key from memory immediately.KeyMask includes high-performance built-in detectors for:
sk-..., sk-proj-...sk-ant-...ghp_..., github_pat_...)AKIA...)sk_live_..., rk_live_...)BEGIN PRIVATE KEY)Bearer eyJ...Open the Command Palette (Cmd/Ctrl + P) to access KeyMask commands anytime. You can also assign custom hotkeys in Settings → Hotkeys:
| Command | Action |
|---|---|
KeyMask: Insert Encrypted Secret |
Opens modal to encrypt and insert a new credential |
KeyMask: Encrypt Selected Text |
Encrypts highlighted text in the active editor |
KeyMask: Audit Vault for Plaintext Secrets |
Scans notes for exposed credentials and batch-encrypts them |
KeyMask: Unlock Vault |
Prompts for master passphrase to enable decryption |
KeyMask: Lock Vault |
Purges in-memory encryption key immediately |
KeyMask: Clear Ephemeral Clipboard Now |
Manually clears any secret copied to clipboard |
KeyMask: Export Secrets (KeePass XML / CSV) |
Exports secrets to KeePass, 1Password, or Bitwarden |
KeyMask: Decrypt All Notes (De-escalate Vault) |
Restores all encrypted notes back to plain Markdown |
In Obsidian Settings → KeyMask, you can configure:
For security audits and technical verification:
extractable: false in WebCrypto memory.Nexus is where Devinova developers build focused software, developer tools, and productivity plugins. We specialize in local-first tooling, zero-knowledge privacy systems, and extensions for platforms like Obsidian, VS Code, and IDEs.