Manage and inject your CryptEnv secrets directly from your editor.
CryptEnv is an enterprise-grade platform for secure runtime secret injection. This official VS Code extension allows developers to seamlessly interact with their CryptEnv workspace without ever leaving their code.
Features
Secrets Sidebar: A dedicated view in your VS Code Activity Bar that lists all secrets you have access to.
Insert at Cursor: Quickly insert a secret's key name (e.g., DATABASE_URL) directly into your code.
Copy Values: Securely copy decrypted secret values to your clipboard.
Create Secrets: Add new secrets to your environment straight from the command palette.
Secure Authentication: Uses VS Code's built-in encrypted SecretStorage to securely hold your CryptEnv API Key.
Getting Started
Open VS Code and navigate to the CryptEnv icon in the Activity Bar.
Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P) and type CryptEnv: Set API Key.
Paste the API Key generated from your CryptEnv Dashboard.
(Optional) If you are self-hosting CryptEnv, use CryptEnv: Set Base URL to point the extension to your backend (default is http://localhost:8080/api).
Click the Refresh icon in the CryptEnv sidebar to load your secrets.
Requirements
VS Code version 1.70.0 or higher.
An active CryptEnv backend and a valid API Key.
Extension Settings
This extension contributes the following settings:
cryptenv.baseUrl: The URL pointing to your CryptEnv API backend.
Commands
CryptEnv: Set API Key: Authenticates the extension.
CryptEnv: Set Base URL: Configures the backend URL.
CryptEnv: Refresh Secrets: Reloads the sidebar.
CryptEnv: Add Secret: Creates a new secret.
CryptEnv: Copy Secret Value (Context Menu): Copies the secret's value.
CryptEnv: Insert Key at Cursor (Context Menu): Inserts the secret's key into your active file.
Security
Your API key is never stored in plaintext. This extension relies exclusively on the native vscode.secrets API, which leverages your operating system's native keychain (macOS Keychain, Windows Credential Manager, or Linux Secret Service) to securely encrypt and store credentials.