Envault
Configuration

Environment Variables

Configuring the Envault server

Server Configuration

These environment variables are required to run the Envault server (Next.js app).

Required Variables

VariableDescriptionExample
NEXT_PUBLIC_SUPABASE_URLThe URL of your Supabase project.https://xyz.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEYThe anonymous public key for Supabase.eyJhbGcis...
SUPABASE_SERVICE_ROLE_KEYThe secret service role key. Critical Security.eyJhbGcis...
ENCRYPTION_KEY32-byte hex string used as the Master Key.a1b2c3d4...

Optional Variables

VariableDescriptionDefault
REDIS_URLURL for Redis caching.redis://localhost:6379
LOG_LEVELLogging verbosity.info

Generating Keys

To generate a secure ENCRYPTION_KEY, use:

openssl rand -hex 32

On this page