Manage secrets, API keys, and per-environment configuration.
Environment variables are how your app gets secrets (API keys, database URLs) without baking them into your source code. Nometria encrypts all variables at rest and injects them at runtime.
On the configuration screen before your first deploy, scroll to Environment Variables and add your key/value pairs.
Dashboard → your project → Settings → Environment Variables.Add or edit variables and click Save & Redeploy to apply changes. Nometria triggers a zero-downtime redeploy.
Vite exposes variables prefixed with VITE_ to the browser bundle. Never put secret keys in VITE_ variables — use them only for public anon keys or public URLs.
Next.js (Supabase)
# Public (exposed to browser)NEXT_PUBLIC_SUPABASE_URL=https://xxxxxxxxxxxx.supabase.coNEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...# Server-only (never sent to browser)SUPABASE_SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
Stripe
# Public key — safe to expose to browserNEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_live_...# Secret key — server-only, never prefix with NEXT_PUBLIC_ or VITE_STRIPE_SECRET_KEY=sk_live_...STRIPE_WEBHOOK_SECRET=whsec_...
OpenAI / Anthropic
# Server-only — never expose to browserOPENAI_API_KEY=sk-...ANTHROPIC_API_KEY=sk-ant-...