Env Vault is a secure, robust environment variable and secrets management application built with Next.js. It allows developers and teams to safely store, manage, and share environment files, secrets, and project configurations with end-to-end encryption features.
Follow these steps to set up and run the project locally.
- Node.js (v18+)
- npm, yarn, pnpm, or bun
- A SQL database (PostgreSQL/MySQL/SQLite, as it uses Prisma)
-
Clone the repository and install dependencies:
npm install # or yarn install / pnpm install / bun install -
Environment Variables: Create a
.envfile in the root directory based on your database requirements, includingDATABASE_URLandAUTH_SECRETfor NextAuth. -
Database Setup: Generate the Prisma client and push the schema to your database.
npx prisma generate npx prisma db push # or npx prisma migrate dev -
Start the Development Server:
npm run dev # or yarn dev / pnpm dev / bun dev -
Open the Application: Visit http://localhost:3000 in your browser.
- Secure Environment Vaults: Safely store, manage, and organize
.envfiles for different projects and environments. - End-to-End Encryption: Use a Master Key to securely encrypt and decrypt sensitive configurations on the fly.
- Secret Comments System: Add encrypted comments to your environment files that are only accessible with the correct vault keys. Time-based recency labels keep track of changes.
- Variable Bundles: Group and manage environment variables seamlessly.
- Modern Tech Stack: Built with Next.js (App Router), React 19, Prisma ORM, NextAuth for secure authentication, and Tailwind CSS v4.
- Beautiful UI/UX: Utilizes Shadcn UI, Monaco Editor, and modern aesthetics for a premium developer experience.
We are constantly expanding Env Vault to make developer workflows smoother and more secure. Here is what is on the roadmap:
A dedicated IDE extension that syncs directly with the Env Vault app. This will allow you to update environment variables and local, untracked files (those not pushed to GitHub) in real-time without any manual intervention or context switching.
We are building a dedicated AI package designed to intelligently summarize codebases and configurations. Whether you need to summarize a single file, a folder, an entire project, an environment, or a specific bundle, this package will handle it effortlessly.
Planned AI Features for the Package:
- Security & Secret Scanning: Intelligently detect leaked secrets, hardcoded credentials, or vulnerable patterns within the summarized files.
- Automated Documentation Generation: Automatically generate usage docs and onboarding guides based on your project's
.envstructures and codebase summaries. - Anomaly Detection: Analyze
.envfiles and alert you to missing standard variables, incorrect formatting, or misaligned configurations across different environments (e.g., missing a required DB URL in staging). - Natural Language Querying: Ask questions like "Where is the database connection string defined?" or "What variables do I need to run the billing service?" and get precise answers based on the project's structural summary.
- Smart Refactoring Suggestions: Recommend ways to consolidate duplicate environment variables or optimize your secret management architecture.
This project uses Next.js and Prisma. Your feedback and contributions are always welcome!