A comprehensive VS Code extension for managing Bitwarden Secrets Manager projects and secrets directly in your IDE. Streamline your development workflow with secure secret management, environment variable integration, and seamless .env file operations.
🚀 Features
Project Management
Create Projects: Add new Bitwarden projects with custom names
Edit Projects: Modify project details
Delete Projects: Remove projects with confirmation
Browse Projects: Navigate through your organization's projects in a tree view
Copy Project ID: Quick clipboard access to project identifiers
Secret Management
Create Secrets: Add new secrets with key-value pairs and notes
Edit Secrets: Full-featured editor with form validation
Delete Secrets: Remove secrets with safety confirmations
View Secrets: Browse all secrets within projects
Environment Integration
Load Single Secret: Export individual secrets to terminal environment variables
Load Project Secrets: Export all project secrets to terminal at once
Cross-Platform Support: Works with PowerShell, Command Prompt, and Unix shells
Terminal Clearing: Automatically clears terminal history after loading secrets for enhanced privacy
Clipboard Operations
Copy Secret Values: Copy individual secret values in key=value format
Copy All Project Secrets: Copy all secrets from a project as key=value pairs (one per line)
Ready for .env Files: Clipboard format is optimized for pasting into environment files
File Operations
Export to .env Files: Save project secrets to .env files with conflict resolution
Import from .env Files: Import secrets from existing .env* files into Bitwarden projects
Individual Conflict Resolution: Choose to skip or overwrite each conflicting secret during import
Automatic File Discovery: Finds all .env* files in your workspace
Format Validation: Handles comments, empty lines, and quoted values in .env files
Security & Privacy
Secure Authentication: Token-based authentication with encrypted storage
Privacy Protection: Terminal clearing removes sensitive data from command history
Conflict Handling: Smart detection and resolution of duplicate secrets
Error Handling: Comprehensive error reporting and recovery
📋 Setup
Install the Extension
Search for "Bitwarden Secrets Explorer" in VS Code Extensions
Or install from the VS Code Marketplace
Configure Authentication
Command Palette → "Bitwarden: Set Access Token"
Enter your Bitwarden Secrets Manager API access token
Set Organization
Command Palette → "Bitwarden: Set Organization ID"
Enter your Bitwarden organization ID
Access the Panel
Click the Bitwarden icon in the Activity Bar
Or use View → Open View → Bitwarden Secrets Explorer
🔧 Requirements
Bitwarden Secrets Manager Subscription: Active subscription required
API Access Token: Generate from your Bitwarden web vault
Organization Access: Must be a member of a Bitwarden organization
VS Code: Version 1.60.0 or higher
📚 Commands Reference
Authentication Commands
Bitwarden: Set Access Token - Configure API authentication
Bitwarden: Set Organization ID - Set target organization