Guides
Initial Setup
Configuring your Envault instance
After installing the dependencies, you need to configure the core services.
Database Setup (Supabase)
Envault relies on Supabase for authentication and database storage.
- Create a new project in the Supabase Dashboard.
- Go to Project Settings > API and copy your:
- Project URL
anonpublic keyservice_rolesecret key (keep this safe!)
Update your .env.local file:
NEXT_PUBLIC_SUPABASE_URL=your_project_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_anon_key
SUPABASE_SERVICE_ROLE_KEY=your_service_keyEncryption Keys
Envault uses a master key to encrypt the database keys. This is critical for security.
Critical Security Warning
You must generate a strong random string for your ENCRYPTION_KEY. If you lose this key, all data encrypted with it will be irretrievable.
Generate a secure key (e.g., using openssl):
openssl rand -hex 32Add this to your .env.local:
ENCRYPTION_KEY=your_generated_hex_keyRunning the Development Server
Now you are ready to start the application.
npm run devOpen http://localhost:3000 with your browser to see the result.