---
title: "Environment variables"
description: "Every variable the package reads in 0.2.0, by group: where it is read, what it takes and what degrades without it, the BACKEND_ENVIRONMENT table, the variables 0.2.0 removes, and how to set each one."
canonical_url: "https://nuxt-backend.dev/docs/reference/configuration/environment-variables"
---
# Environment variables

> Every variable the package reads in 0.2.0, by group: where it is read, what it takes and what degrades without it, the BACKEND_ENVIRONMENT table, the variables 0.2.0 removes, and how to set each one.

Version: nuxt-backend 0.6.x · Tab: Reference · Kind: reference · Status: stable

Every page: [llms.txt](https://nuxt-backend.dev/llms.txt) · Skill for coding agents: [nuxt-backend](https://nuxt-backend.dev/.well-known/skills/nuxt-backend/SKILL.md)

Commands use npm; use your project's package manager.

- [Source](https://github.com/qruto/nuxt-backend/blob/main/src/env-registry.ts)

This page lists every variable the package reads, once: where it is read, what it takes, and what degrades without it. They are named after what they do and grouped by purpose. One of them, `BACKEND_ENVIRONMENT`, says what kind of deployment the backend runs on, and every mode follows from it. [Environments and deployments](https://nuxt-backend.dev/docs/start/concepts/environments) explains the split between the app's env and the deployment's.

## Every variable

Write each value you set in `.env.local`, once. The Nuxt app reads the ones marked **Nuxt app**, and [`npx nuxt-backend env push`](https://nuxt-backend.dev/docs/reference/cli#env-push) forwards the rest to the deployment. **Set by** says who writes each one, and **Without it** what stops working:

<table>
<thead>
  <tr>
    <th>
      Variable
    </th>
    
    <th>
      Group
    </th>
    
    <th>
      Read on
    </th>
    
    <th>
      Set by
    </th>
    
    <th>
      Takes
    </th>
    
    <th>
      Without it
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        NUXT_PUBLIC_BACKEND_URL
      </code>
    </td>
    
    <td>
      Backend
    </td>
    
    <td>
      Nuxt app
    </td>
    
    <td>
      Derived. You, to point at another deployment
    </td>
    
    <td>
      The deployment's URL, such as <code>
        https://happy-otter-123.convex.cloud
      </code>
    </td>
    
    <td>
      Derived from the deployment the platform CLI names in <code>
        .env.local
      </code>
      
      . Set it to point the app at another deployment
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        SITE_URL
      </code>
    </td>
    
    <td>
      Backend
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      <code>
        dev
      </code>
      
       in development, you elsewhere. Required. <code>
        env push
      </code>
      
       takes the origin of <code>
        NUXT_SITE_URL
      </code>
      
       when <code>
        SITE_URL
      </code>
      
       is not set
    </td>
    
    <td>
      The app's http(s) origin, without a path, such as <code>
        https://app.example.com
      </code>
    </td>
    
    <td>
      A deploy fails: auth trusts it as the app's origin, and every emailed link names it
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        AUTH_SECRET
      </code>
    </td>
    
    <td>
      Backend
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      <code>
        dev
      </code>
      
       in development, you elsewhere. Required
    </td>
    
    <td>
      A random secret of at least 32 characters (<code>
        openssl rand -base64 32
      </code>
      
       prints one)
    </td>
    
    <td>
      A deploy fails: it signs sessions. <a href="https://nuxt-backend.dev/docs/reference/cli#env-rotate">
        <code>
          env rotate
        </code>
      </a>
      
       replaces it with no downtime: the new value beside the old, as <code>
        <version>:<new>,<version>:<old>
      </code>
      
      , until the old retires
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        BACKEND_ENVIRONMENT
      </code>
    </td>
    
    <td>
      Backend
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      <code>
        env push
      </code>
      
      , from the deployment. You, for <code>
        sandbox
      </code>
    </td>
    
    <td>
      <code>
        development
      </code>
      
      , <code>
        preview
      </code>
      
      , <code>
        sandbox
      </code>
      
       or <code>
        production
      </code>
    </td>
    
    <td>
      Every provider stays in its test mode, and <code>
        doctor --prod
      </code>
      
       fails on production
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        EMAIL_API_KEY
      </code>
    </td>
    
    <td>
      Email
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      You. Needed to send outside <code>
        development
      </code>
    </td>
    
    <td>
      Resend's API key
    </td>
    
    <td>
      Sends no-op. On <code>
        development
      </code>
      
       the sign-in codes print in the dev console, and elsewhere a code to a real address is refused
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        EMAIL_FROM
      </code>
    </td>
    
    <td>
      Email
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      You
    </td>
    
    <td>
      An address on a verified sending domain, alone or as <code>
        Name <address>
      </code>
      
      : the sender of transactional mail
    </td>
    
    <td>
      Resend's onboarding sender is used
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        EMAIL_MARKETING_FROM
      </code>
    </td>
    
    <td>
      Email
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      You (ENGAGE)
    </td>
    
    <td>
      The sender of marketing and lifecycle mail, on a subdomain apart from <code>
        EMAIL_FROM
      </code>
      
      's
    </td>
    
    <td>
      Marketing and lifecycle mail goes from <code>
        EMAIL_FROM
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        EMAIL_REGION
      </code>
    </td>
    
    <td>
      Email
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      You
    </td>
    
    <td>
      The region Resend sends from: <code>
        us-east-1
      </code>
      
      , <code>
        eu-west-1
      </code>
      
      , <code>
        sa-east-1
      </code>
      
       or <code>
        ap-northeast-1
      </code>
      
      . Account data stays in the US
    </td>
    
    <td>
      Resend's default region
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        EMAIL_WEBHOOK_SECRET
      </code>
    </td>
    
    <td>
      Email
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      You, from Resend's webhook settings
    </td>
    
    <td>
      The signing secret of Resend's webhook endpoint, which verifies <code>
        /email/events
      </code>
    </td>
    
    <td>
      Delivery and inbound events are refused, so <code>
        useEmailStatus
      </code>
      
       stays at <code>
        sent
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        BILLING_ACCESS_TOKEN
      </code>
    </td>
    
    <td>
      Billing
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      You. Needed to sell
    </td>
    
    <td>
      A Polar organization access token: a sandbox token outside <code>
        production
      </code>
      
      , a live one on it
    </td>
    
    <td>
      Billing reads return empty, and checkout fails when called
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        BILLING_WEBHOOK_SECRET
      </code>
    </td>
    
    <td>
      Billing
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      <code>
        billing sync
      </code>
    </td>
    
    <td>
      The signing secret of Polar's webhook endpoint, which verifies <code>
        /billing/events
      </code>
      
      . <code>
        billing sync
      </code>
      
       stores it
    </td>
    
    <td>
      Billing events are refused, so entitlements refresh only on demand
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        AI_GATEWAY_API_KEY
      </code>
    </td>
    
    <td>
      AI
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      You, where <code>
        setupAi({ gateway })
      </code>
      
       names <code>
        'vercel'
      </code>
      
       and the Convex AI Gateway is unavailable or comes second
    </td>
    
    <td>
      A Vercel AI Gateway key: the route a <code>
        provider/model
      </code>
      
       id takes where the Convex AI Gateway does not answer it first. <code>
        gateway: 'convex'
      </code>
      
       never reads it
    </td>
    
    <td>
      Model ids go through the Convex AI Gateway alone, on a paid Convex plan. On a free plan or a self-hosted deployment, or under <code>
        gateway: 'vercel'
      </code>
      
      , a model call is refused
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        PROTECTION_PROOF_SECRET
      </code>
    </td>
    
    <td>
      Protection
    </td>
    
    <td>
      Deployment and the app's server
    </td>
    
    <td>
      You
    </td>
    
    <td>
      A random secret of at least 32 characters, the same value on both. A comma-separated <code>
        new,old
      </code>
      
       on the deployment passes proofs signed with either while you rotate it
    </td>
    
    <td>
      The routes that send a code take no proof of a bot check. On Vercel, BotID still refuses the bots that come through the app
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        PROTECTION_CHALLENGE_SECRET_KEY
      </code>
    </td>
    
    <td>
      Protection
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      You
    </td>
    
    <td>
      Cloudflare Turnstile's secret key. Its documented test keys pass or refuse everyone
    </td>
    
    <td>
      The deployment verifies no challenge answer, so off Vercel nothing checks for bots
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        NUXT_PUBLIC_BACKEND_CHALLENGE_SITE_KEY
      </code>
    </td>
    
    <td>
      Protection
    </td>
    
    <td>
      Nuxt app
    </td>
    
    <td>
      You
    </td>
    
    <td>
      Turnstile's site key, which is public
    </td>
    
    <td>
      No challenge renders, so a deployment with the secret key refuses every code request
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        PUSH_PUBLIC_KEY
      </code>
    </td>
    
    <td>
      Notifications
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      <code>
        env push
      </code>
      
      , which generates the pair
    </td>
    
    <td>
      The public half of the web push key pair, which <a href="https://nuxt-backend.dev/docs/reference/cli#env-push">
        <code>
          env push
        </code>
      </a>
      
       generates: production's never copied from <code>
        .env.local
      </code>
    </td>
    
    <td>
      The in-app inbox works, but web push does not
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        PUSH_PRIVATE_KEY
      </code>
    </td>
    
    <td>
      Notifications
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      <code>
        env push
      </code>
      
      , which generates the pair
    </td>
    
    <td>
      The private half of the same pair, never derived from another secret
    </td>
    
    <td>
      The in-app inbox works, but web push does not
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        MONITORING_DSN
      </code>
    </td>
    
    <td>
      Monitoring
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      You, or Sentry's Vercel integration
    </td>
    
    <td>
      A Sentry DSN. The Nuxt app reads it too. Sentry's Vercel integration sets the DSN as <code>
        NEXT_PUBLIC_SENTRY_DSN
      </code>
      
      : the app reports to it when <code>
        MONITORING_DSN
      </code>
      
       is unset, and <code>
        env push
      </code>
      
       forwards it to the deployment as <code>
        MONITORING_DSN
      </code>
      
      , so the integration alone is enough
    </td>
    
    <td>
      The backend reports nothing. In development a local error log in DevTools stands in
    </td>
  </tr>
</tbody>
</table>

The platform's own names, `CONVEX_DEPLOYMENT`, `CONVEX_SITE_URL` and `CONVEX_SELF_HOSTED_URL`, are not here: the Convex CLI and runtime own them. The package reads them and never asks you to write one. For an account-free local deployment, `npx nuxt-backend dev --anonymous` gives the Convex CLI what it reads (`CONVEX_AGENT_MODE=anonymous`) itself, on every OS.

### `BACKEND_ENVIRONMENT`

`BACKEND_ENVIRONMENT` decides four modes at once, so you never set one by hand:

<table>
<thead>
  <tr>
    <th>
      <code>
        BACKEND_ENVIRONMENT
      </code>
    </th>
    
    <th>
      Email
    </th>
    
    <th>
      Billing
    </th>
    
    <th>
      Local origins trusted
    </th>
    
    <th>
      Sign-in codes logged
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        development
      </code>
    </td>
    
    <td>
      Test mode
    </td>
    
    <td>
      Polar's sandbox
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      Yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        preview
      </code>
    </td>
    
    <td>
      Test mode
    </td>
    
    <td>
      Polar's sandbox
    </td>
    
    <td>
      No
    </td>
    
    <td>
      No
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        sandbox
      </code>
    </td>
    
    <td>
      Test mode
    </td>
    
    <td>
      Polar's sandbox
    </td>
    
    <td>
      No
    </td>
    
    <td>
      No
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        production
      </code>
    </td>
    
    <td>
      Live
    </td>
    
    <td>
      Live
    </td>
    
    <td>
      No
    </td>
    
    <td>
      No
    </td>
  </tr>
</tbody>
</table>

`env push` derives it from `CONVEX_DEPLOYMENT`: a dev deployment is `development`, a preview is `preview`, and production is `production`. You set `sandbox` on purpose, for a deployed demo or staging app that runs in production mode on the providers' test modes. It also names the monitoring environment, so Sentry keeps a demo's errors apart from production's.

### Removed variables

`0.2.0` removes eight variables. `env push` never forwards one, and `doctor` names any still set on a deployment:

<table>
<thead>
  <tr>
    <th>
      Variable
    </th>
    
    <th>
      Replaced by
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        EMAIL_TEST_MODE
      </code>
    </td>
    
    <td>
      <code>
        BACKEND_ENVIRONMENT
      </code>
      
      : test mode everywhere but <code>
        production
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        BILLING_ENVIRONMENT
      </code>
    </td>
    
    <td>
      <code>
        BACKEND_ENVIRONMENT
      </code>
      
      : Polar's sandbox everywhere but <code>
        production
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        MONITORING_ENVIRONMENT
      </code>
    </td>
    
    <td>
      <code>
        BACKEND_ENVIRONMENT
      </code>
      
      , which names the monitoring environment
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        AUTH_TRUST_LOCAL_ORIGINS
      </code>
    </td>
    
    <td>
      <code>
        BACKEND_ENVIRONMENT=development
      </code>
      
      , which trusts the local origins
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        NUXT_BACKEND_LOG_OTP
      </code>
    </td>
    
    <td>
      <code>
        BACKEND_ENVIRONMENT=development
      </code>
      
      , which logs the sign-in codes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        NUXT_PUBLIC_BACKEND_SITE_URL
      </code>
    </td>
    
    <td>
      Derived from <code>
        NUXT_PUBLIC_BACKEND_URL
      </code>
      
      . A custom domain sets <code>
        NUXT_PUBLIC_CONVEX_SITE_URL
      </code>
      
      , the base module's own variable
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        BILLING_SIMULATOR_URL
      </code>
    </td>
    
    <td>
      Nothing: development bills in Polar's sandbox
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        NUXT_BACKEND_SIMULATE_MODELS
      </code>
    </td>
    
    <td>
      Nothing: development calls the same models through the Convex AI Gateway or <code>
        AI_GATEWAY_API_KEY
      </code>
    </td>
  </tr>
</tbody>
</table>

## App variables

`npx nuxt-backend init` writes `.env.example`, grouped by purpose with the platform's names last. Nothing in it is required in development:

```dotenv [.env.example]
# Nothing here is required in development: the backend URL derives from the
# deployment the Convex CLI writes, and AUTH_SECRET, SITE_URL and
# BACKEND_ENVIRONMENT are provisioned on the first run. Add keys as you
# connect services, then run `npx nuxt-backend env push`.

# ── Backend ──
# NUXT_PUBLIC_BACKEND_URL=

# ── Email ──
# EMAIL_API_KEY=
# EMAIL_FROM=
# EMAIL_MARKETING_FROM=
# EMAIL_REGION=
# EMAIL_WEBHOOK_SECRET=

# ── Billing ──
# BILLING_PROVIDER=
# BILLING_ACCESS_TOKEN=
# BILLING_WEBHOOK_SECRET=

# ── AI ──
# AI_GATEWAY_API_KEY=
# CONTENT_SAFETY_ENDPOINT=
# CONTENT_SAFETY_KEY=
# SECOND_OPINION_KEY=
# KNOWN_ABUSE_KEY=

# ── Protection ──
# PROTECTION_PROOF_SECRET=
# PROTECTION_CHALLENGE_SECRET_KEY=
# NUXT_PUBLIC_BACKEND_CHALLENGE_SITE_KEY=

# ── Monitoring ──
# MONITORING_DSN=

# ── Dev only ──
# `nuxt-backend dev` sets these on a dev deployment, and `env push` never
# carries them to a preview or production.
# EMAIL_DEV_INBOX=1

# ── Platform ──
# The Convex CLI appends CONVEX_DEPLOYMENT here. Read it; never rename it.
```

The push key pair is not in it: `env push` generates the pair on the deployment the first time it runs. `npx convex dev` then appends the deployment it set up:

```dotenv [.env.local]
# Deployment used by `npx convex dev`
CONVEX_DEPLOYMENT=dev:your-deployment # team: your-team, project: your-project
```

The Nuxt process reads `NUXT_PUBLIC_BACKEND_URL` and `NUXT_PUBLIC_BACKEND_CHALLENGE_SITE_KEY`, and `PROTECTION_PROOF_SECRET` on its server. Its error reports read the DSN (`MONITORING_DSN`, else Sentry's `NEXT_PUBLIC_SENTRY_DSN`), and name their environment `BACKEND_ENVIRONMENT` when the app's host sets it too (a `sandbox` demo does), else Vercel's own. The rest are staged here for `env push` to forward. Of `CONVEX_DEPLOYMENT` the module reads only the slug, to derive the deployment's URLs.

<note>

The platform's own names still work. The base module reads `NUXT_PUBLIC_CONVEX_URL` and `NUXT_PUBLIC_CONVEX_SITE_URL` directly, and an explicit one wins over the derived default: `NUXT_PUBLIC_BACKEND_URL` is this package's own name for the first, and the `.convex.site` origin the app's server talks to derives from it, at runtime too. Set `NUXT_PUBLIC_CONVEX_SITE_URL` only for a custom domain in front of the HTTP routes, a self-hosted backend, or a build that does not know the backend's URL: the `/api/auth` proxy reads the origin the build baked in, so a host that sets `NUXT_PUBLIC_BACKEND_URL` for the runtime alone sets `NUXT_PUBLIC_CONVEX_SITE_URL` there too ([`site-auth-proxy`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#site-auth-proxy)).

</note>

## Convex deployment variables

The scaffolded `convex.config.ts` declares the deployment's variables with Convex's typed [`defineApp({ env })`](https://docs.convex.dev/production/environment-variables), through `backendEnv` from `nuxt-backend/app`. A deploy validates them, and your functions read them type-safely through `env` from `_generated/server`. `AUTH_SECRET` and `SITE_URL` are required: a push fails until both are set. Every other one is optional: the deploy succeeds, and the feature degrades in the way the table above describes until you set it. `npx nuxt-backend doctor` reports each one.

### Setting them

On a dev deployment, `npx nuxt-backend dev` (or `env push`) provisions the required values and `BACKEND_ENVIRONMENT`, and forwards whatever `.env.local` holds. To set one by hand, pipe the secret in so it never lands in your shell history:

```bash
# Production: every command takes --prod
openssl rand -base64 32 | npx convex env set --prod AUTH_SECRET
npx convex env set --prod SITE_URL https://app.example.com
npx convex env set --prod BACKEND_ENVIRONMENT production
npx convex env set --prod EMAIL_API_KEY           # asks for the key
npx convex env set --prod BILLING_ACCESS_TOKEN    # asks for the token
```

[`npx nuxt-backend env push --prod`](https://nuxt-backend.dev/docs/reference/cli#env-push) does the same from `.env.local`, and refuses a deploy key for another deployment.

<note>

The `EMAIL_*` variables reach the `backend` component by reference, since [components can't read the app's env directly](https://docs.convex.dev/components). The scaffolded `convex.config.ts` handles it ([How it works](https://nuxt-backend.dev/docs/start/concepts/how-it-works)).

</note>

## The registry

The table below is generated from `src/env-registry.ts`, which `env push`, `doctor` and the DevTools panel read too: where each name is read, which capability owns it, and the findings that report it ([Diagnostics](https://nuxt-backend.dev/docs/reference/cli/diagnostics)).

<table>
<thead>
  <tr>
    <th>
      Variable
    </th>
    
    <th>
      Capability
    </th>
    
    <th>
      Read on
    </th>
    
    <th>
      Required
    </th>
    
    <th>
      Takes
    </th>
    
    <th>
      Example
    </th>
    
    <th>
      Without it
    </th>
    
    <th>
      Checked by
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        AUTH_SECRET
      </code>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/capabilities#auth">
        <code>
          auth
        </code>
      </a>
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      Required
    </td>
    
    <td>
      a random secret of at least 32 characters (<code>
        openssl rand -base64 32
      </code>
      
       prints one)
    </td>
    
    <td>
      
    </td>
    
    <td>
      a deploy fails: it signs sessions and encrypts the keys the session tokens are signed with
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#auth-secret">
        <code>
          auth-secret
        </code>
      </a>
      
      , <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-auth-secret">
        <code>
          deployment-auth-secret
        </code>
      </a>
      
      , <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#env-defaults">
        <code>
          env-defaults
        </code>
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        SITE_URL
      </code>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/capabilities#auth">
        <code>
          auth
        </code>
      </a>
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      Required
    </td>
    
    <td>
      the app's http(s) origin, without a path
    </td>
    
    <td>
      <code>
        https://app.example.com
      </code>
    </td>
    
    <td>
      a deploy fails: auth trusts it as the app origin, and every emailed link names it
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#site-url">
        <code>
          site-url
        </code>
      </a>
      
      , <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-site-url">
        <code>
          deployment-site-url
        </code>
      </a>
      
      , <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#env-defaults">
        <code>
          env-defaults
        </code>
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        BACKEND_ENVIRONMENT
      </code>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/capabilities#data">
        <code>
          data
        </code>
      </a>
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      Optional
    </td>
    
    <td>
      <code>
        development
      </code>
      
      , <code>
        preview
      </code>
      
      , <code>
        sandbox
      </code>
      
       or <code>
        production
      </code>
      
      : the kind of deployment the backend runs on. <code>
        env push
      </code>
      
       derives it from the deployment; <code>
        sandbox
      </code>
      
       is the one value you set by hand
    </td>
    
    <td>
      <code>
        production
      </code>
    </td>
    
    <td>
      every provider stays in its test mode, nothing local is trusted and no sign-in code is logged; <code>
        doctor --prod
      </code>
      
       fails on production
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-backend-environment">
        <code>
          deployment-backend-environment
        </code>
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        EMAIL_API_KEY
      </code>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/capabilities#email">
        <code>
          email
        </code>
      </a>
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      Optional
    </td>
    
    <td>
      the email provider's API key
    </td>
    
    <td>
      
    </td>
    
    <td>
      email sends no-op; on <code>
        development
      </code>
      
       the sign-in codes print in the dev console, and elsewhere a code to a real address is refused
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#email-transport">
        <code>
          email-transport
        </code>
      </a>
      
      , <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-email-api-key">
        <code>
          deployment-email-api-key
        </code>
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        EMAIL_FROM
      </code>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/capabilities#email">
        <code>
          email
        </code>
      </a>
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      Optional
    </td>
    
    <td>
      an address on a verified sending domain, alone or as <code>
        Name <address>
      </code>
      
      : the sender of transactional mail
    </td>
    
    <td>
      <code>
        Acme <hello@acme.com>
      </code>
    </td>
    
    <td>
      the provider onboarding sender is used
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-email-from">
        <code>
          deployment-email-from
        </code>
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        EMAIL_MARKETING_FROM
      </code>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/capabilities#email">
        <code>
          email
        </code>
      </a>
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      Optional
    </td>
    
    <td>
      an address on a sending subdomain apart from EMAIL_FROM's, alone or as <code>
        Name <address>
      </code>
      
      : the sender of marketing and lifecycle mail
    </td>
    
    <td>
      <code>
        Acme News <news@news.acme.com>
      </code>
    </td>
    
    <td>
      marketing mail goes from EMAIL_FROM
    </td>
    
    <td>
      none
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        EMAIL_REGION
      </code>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/capabilities#email">
        <code>
          email
        </code>
      </a>
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      Optional
    </td>
    
    <td>
      the region the sending domain sends from: <code>
        us-east-1
      </code>
      
      , <code>
        eu-west-1
      </code>
      
      , <code>
        sa-east-1
      </code>
      
       or <code>
        ap-northeast-1
      </code>
      
      . Account data stays in the US whatever the region
    </td>
    
    <td>
      <code>
        eu-west-1
      </code>
    </td>
    
    <td>
      the provider's default region
    </td>
    
    <td>
      none
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        EMAIL_WEBHOOK_SECRET
      </code>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/capabilities#email">
        <code>
          email
        </code>
      </a>
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      Optional
    </td>
    
    <td>
      the signing secret of the provider's webhook endpoint; it verifies <code>
        /email/events
      </code>
    </td>
    
    <td>
      
    </td>
    
    <td>
      delivery events are rejected — useEmailStatus stays at "sent"
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#email-webhook-secret">
        <code>
          email-webhook-secret
        </code>
      </a>
      
      , <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-email-webhook-secret">
        <code>
          deployment-email-webhook-secret
        </code>
      </a>
      
      , <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#email-webhook-route">
        <code>
          email-webhook-route
        </code>
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        EMAIL_DEV_INBOX
      </code>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/capabilities#email">
        <code>
          email
        </code>
      </a>
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      Dev only
    </td>
    
    <td>
      <code>
        1
      </code>
      
       publishes the dev inbox to pages: getSandboxInbox answers on a deployment whose BACKEND_ENVIRONMENT is set and not production. <code>
        nuxt-backend dev
      </code>
      
       sets it on dev deployments and <code>
        nuxt-backend deploy --sandbox
      </code>
      
       on a sandbox (a public demo, whose visitors read their codes off the page); set it by hand on a preview that publishes the inbox, and never on a live production, where <code>
        doctor --prod
      </code>
      
       flags it
    </td>
    
    <td>
      <code>
        1
      </code>
    </td>
    
    <td>
      the dev inbox's page reader (getSandboxInbox, behind useSandboxInbox) answers nothing; the CLI's inbox still reads
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-email-dev-inbox">
        <code>
          deployment-email-dev-inbox
        </code>
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        BILLING_PROVIDER
      </code>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/capabilities#billing">
        <code>
          billing
        </code>
      </a>
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      Optional
    </td>
    
    <td>
      <code>
        polar
      </code>
      
      , <code>
        stripe
      </code>
      
       (Stripe Managed Payments), <code>
        dodo
      </code>
      
       (Dodo Payments) or <code>
        creem
      </code>
      
      : the merchant of record <code>
        setupBilling
      </code>
      
       sells through. <code>
        stripe
      </code>
      
      , <code>
        dodo
      </code>
      
       and <code>
        creem
      </code>
      
       need <code>
        setupBilling({ commerce })
      </code>
      
      , with the catalog and the provider's product ids. Any other name fails the deploy
    </td>
    
    <td>
      <code>
        polar
      </code>
    </td>
    
    <td>
      billing sells through Polar, on the Convex component setupBilling is built on
    </td>
    
    <td>
      none
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        BILLING_ACCESS_TOKEN
      </code>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/capabilities#billing">
        <code>
          billing
        </code>
      </a>
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      Optional
    </td>
    
    <td>
      an organization access token of the billing provider: a sandbox token outside production, a live one on it
    </td>
    
    <td>
      
    </td>
    
    <td>
      billing reads answer empty; on production billing is not launched (the pricing reads "Plans open soon" and every sale is refused as not_launched), elsewhere a checkout is refused as not_configured
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#billing-access">
        <code>
          billing-access
        </code>
      </a>
      
      , <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-billing-access-token">
        <code>
          deployment-billing-access-token
        </code>
      </a>
      
      , <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#billing-organization">
        <code>
          billing-organization
        </code>
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        BILLING_WEBHOOK_SECRET
      </code>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/capabilities#billing">
        <code>
          billing
        </code>
      </a>
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      Optional
    </td>
    
    <td>
      the signing secret of the provider's webhook endpoint (<code>
        billing sync
      </code>
      
       stores it); it verifies <code>
        /billing/events
      </code>
    </td>
    
    <td>
      
    </td>
    
    <td>
      billing events are rejected — entitlements refresh only on demand (syncEntitlements)
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#billing-webhook-secret">
        <code>
          billing-webhook-secret
        </code>
      </a>
      
      , <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-billing-webhook-secret">
        <code>
          deployment-billing-webhook-secret
        </code>
      </a>
      
      , <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#billing-webhook-route">
        <code>
          billing-webhook-route
        </code>
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        AI_GATEWAY_API_KEY
      </code>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/capabilities#ai">
        <code>
          ai
        </code>
      </a>
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      Optional
    </td>
    
    <td>
      a Vercel AI Gateway API key: read when setupAi({ gateway }) names 'vercel', as the default order does, after the Convex AI Gateway. Convex runs actions on its own servers, never on Vercel, so the gateway's keyless sign-in never reaches them
    </td>
    
    <td>
      
    </td>
    
    <td>
      a provider/model id the backend names goes through the Convex AI Gateway alone, on Convex Cloud with a paid plan and @convex-dev/ai-sdk-provider installed; anywhere else (a free plan, a self-hosted deployment) it is refused when called. Under setupAi({ gateway: 'vercel' }) it is refused everywhere
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-ai-gateway-api-key">
        <code>
          deployment-ai-gateway-api-key
        </code>
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        CONTENT_SAFETY_ENDPOINT
      </code>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/capabilities#ai">
        <code>
          ai
        </code>
      </a>
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      Optional
    </td>
    
    <td>
      your Azure AI Content Safety resource's endpoint, such as <code>
        https://<name>.cognitiveservices.azure.com
      </code>
      
      : the resource runs in the region you created it in, which <code>
        azureContentSafety({ region })
      </code>
      
       names
    </td>
    
    <td>
      
    </td>
    
    <td>
      azureContentSafety() refuses every check it is asked for (<code>
        unavailable
      </code>
      
      , reason <code>
        not_configured
      </code>
      
      ), so content it would check is refused as unchecked
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-content-safety-endpoint">
        <code>
          deployment-content-safety-endpoint
        </code>
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        CONTENT_SAFETY_KEY
      </code>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/capabilities#ai">
        <code>
          ai
        </code>
      </a>
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      Optional
    </td>
    
    <td>
      a key of your Azure AI Content Safety resource (<strong>
        Keys and Endpoint
      </strong>
      
       in the Azure portal)
    </td>
    
    <td>
      
    </td>
    
    <td>
      as without CONTENT_SAFETY_ENDPOINT: the two call the resource together
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-content-safety-key">
        <code>
          deployment-content-safety-key
        </code>
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        SECOND_OPINION_KEY
      </code>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/capabilities#ai">
        <code>
          ai
        </code>
      </a>
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      Optional
    </td>
    
    <td>
      an OpenAI API key, for its free moderation endpoint (<code>
        omni-moderation-latest
      </code>
      
      ), asked only when a score sits just under its threshold
    </td>
    
    <td>
      
    </td>
    
    <td>
      openaiModeration() refuses every check it is asked for, so a score in the gray band is refused as unchecked
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-second-opinion-key">
        <code>
          deployment-second-opinion-key
        </code>
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        KNOWN_ABUSE_KEY
      </code>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/capabilities#ai">
        <code>
          ai
        </code>
      </a>
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      Optional
    </td>
    
    <td>
      your Project Arachnid Shield credentials, as <code>
        username:password
      </code>
      
      : the account the Canadian Centre for Child Protection gives a vetted organization
    </td>
    
    <td>
      
    </td>
    
    <td>
      arachnidShield() refuses every check, so every image the app moderates is refused as unchecked
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-known-abuse-key">
        <code>
          deployment-known-abuse-key
        </code>
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        PROVENANCE_PRIVATE_KEY
      </code>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/capabilities#ai">
        <code>
          ai
        </code>
      </a>
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      Optional
    </td>
    
    <td>
      the PKCS #8 PEM key (<code>
        BEGIN PRIVATE KEY
      </code>
      
      , P-256, P-384 or RSA) that signs the content credentials <code>
        ctx.storeImage
      </code>
      
       writes, its line ends escaped as <code>
        \n
      </code>
      
       on one line. <code>
        env push
      </code>
      
       generates one with PROVENANCE_CERTIFICATE when neither the deployment nor .env.local has it and the backend turns provenance on
    </td>
    
    <td>
      
    </td>
    
    <td>
      generated images are stored with the IPTC source type and no signed C2PA manifest (<code>
        ai.provenance_unsigned
      </code>
      
      ); <code>
        doctor --prod
      </code>
      
       fails once the backend turns provenance on
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-provenance-private-key">
        <code>
          deployment-provenance-private-key
        </code>
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        PROVENANCE_CERTIFICATE
      </code>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/capabilities#ai">
        <code>
          ai
        </code>
      </a>
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      Optional
    </td>
    
    <td>
      the PEM certificate chain of PROVENANCE_PRIVATE_KEY, the signer's certificate first: one <code>
        env push
      </code>
      
       issues under a root of its own (verifiers show its signer as unknown), or one from a certificate authority on the C2PA trust list for a named signer
    </td>
    
    <td>
      
    </td>
    
    <td>
      as without PROVENANCE_PRIVATE_KEY: the two sign together
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-provenance-certificate">
        <code>
          deployment-provenance-certificate
        </code>
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        PUSH_PUBLIC_KEY
      </code>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/capabilities#notifications">
        <code>
          notifications
        </code>
      </a>
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      Optional
    </td>
    
    <td>
      the public half of the web push (VAPID) key pair, base64url (an uncompressed P-256 point). Browsers receive it when they subscribe, so it is public. <code>
        env push
      </code>
      
       generates the pair when neither the deployment nor .env.local has it, and <code>
        env push --prod
      </code>
      
       a pair of production's own, never copied from .env.local. Never derived from another secret: new keys orphan every subscribed device
    </td>
    
    <td>
      
    </td>
    
    <td>
      the in-app inbox and email notifications work, but web push does not: <code>
        getPushConfig
      </code>
      
       answers no key, so <code>
        usePushSubscription
      </code>
      
       reads unsupported
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-push-public-key">
        <code>
          deployment-push-public-key
        </code>
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        PUSH_PRIVATE_KEY
      </code>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/capabilities#notifications">
        <code>
          notifications
        </code>
      </a>
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      Optional
    </td>
    
    <td>
      the private half of the same pair, base64url (the 32-byte P-256 scalar). It stays on the deployment, never in the app's public config
    </td>
    
    <td>
      
    </td>
    
    <td>
      as without PUSH_PUBLIC_KEY: the two sign together
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-push-private-key">
        <code>
          deployment-push-private-key
        </code>
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        PROTECTION_PROOF_SECRET
      </code>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/capabilities#protection">
        <code>
          protection
        </code>
      </a>
    </td>
    
    <td>
      Deployment and the app's server
    </td>
    
    <td>
      Optional
    </td>
    
    <td>
      a random secret of at least 32 characters (<code>
        openssl rand -base64 32
      </code>
      
       prints one), the same value on the deployment and on the app's server, and production's its own, never .env.local's. For an app on Vercel, where BotID signs the proofs: off Vercel nothing signs one, so set it there only beside the challenge keys. The app's server reads it from .env.local in development; in production set it in the host's env by hand. Never derived from another secret: to rotate it, a comma-separated <code>
        new,old
      </code>
      
       on the deployment passes proofs signed with either
    </td>
    
    <td>
      
    </td>
    
    <td>
      the auth routes that send a code take no proof of a bot check: on Vercel, BotID still refuses the bots that come through the app, but not the ones that call the deployment's own URL
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-protection-proof-secret">
        <code>
          deployment-protection-proof-secret
        </code>
      </a>
      
      , <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#protection-proof">
        <code>
          protection-proof
        </code>
      </a>
      
      , <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#bot-protection">
        <code>
          bot-protection
        </code>
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        PROTECTION_CHALLENGE_SECRET_KEY
      </code>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/capabilities#protection">
        <code>
          protection
        </code>
      </a>
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      Optional
    </td>
    
    <td>
      the challenge provider's secret key (Cloudflare Turnstile); its documented test keys pass or refuse everyone
    </td>
    
    <td>
      
    </td>
    
    <td>
      the deployment verifies no challenge answer, so off Vercel nothing checks for bots
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-protection-challenge-secret-key">
        <code>
          deployment-protection-challenge-secret-key
        </code>
      </a>
      
      , <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#protection-challenge-keys">
        <code>
          protection-challenge-keys
        </code>
      </a>
      
      , <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#bot-protection">
        <code>
          bot-protection
        </code>
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        MONITORING_DSN
      </code>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/capabilities#monitoring">
        <code>
          monitoring
        </code>
      </a>
    </td>
    
    <td>
      Deployment
    </td>
    
    <td>
      Optional
    </td>
    
    <td>
      a DSN of the monitoring service (<code>
        https://<key>@<host>/<project id>
      </code>
      
      ). The Nuxt app reads it too. Where the service's Vercel integration sets the DSN as <code>
        NEXT_PUBLIC_SENTRY_DSN
      </code>
      
      , the app reads that, and <code>
        env push
      </code>
      
       forwards it as <code>
        MONITORING_DSN
      </code>
      
      , so the integration alone is enough
    </td>
    
    <td>
      <code>
        https://public-key@o0.ingest.sentry.io/0
      </code>
    </td>
    
    <td>
      the backend reports nothing: errors in its actions and its cron check-ins go nowhere (the browser and the Nuxt server report on the DSN the app reads, and in dev a local error log stands in)
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-monitoring-dsn">
        <code>
          deployment-monitoring-dsn
        </code>
      </a>
      
      , <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#monitoring-app">
        <code>
          monitoring-app
        </code>
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        NUXT_PUBLIC_BACKEND_URL
      </code>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/capabilities#data">
        <code>
          data
        </code>
      </a>
    </td>
    
    <td>
      Nuxt app
    </td>
    
    <td>
      Optional
    </td>
    
    <td>
      the deployment's URL
    </td>
    
    <td>
      <code>
        https://happy-otter-123.convex.cloud
      </code>
    </td>
    
    <td>
      derived from the deployment the platform CLI names in .env.local; set it to point at another deployment
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#backend-site-url">
        <code>
          backend-site-url
        </code>
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        NUXT_PUBLIC_BACKEND_CHALLENGE_SITE_KEY
      </code>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/capabilities#protection">
        <code>
          protection
        </code>
      </a>
    </td>
    
    <td>
      Nuxt app
    </td>
    
    <td>
      Optional
    </td>
    
    <td>
      the challenge provider's site key (Cloudflare Turnstile), public. Its documented test keys (<code>
        1x00000000000000000000AA
      </code>
      
       always passes) are test mode
    </td>
    
    <td>
      <code>
        1x00000000000000000000AA
      </code>
    </td>
    
    <td>
      no challenge widget renders, so the deployment's PROTECTION_CHALLENGE_SECRET_KEY refuses every code request that carries no proof
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/cli/diagnostics#protection-challenge-keys">
        <code>
          protection-challenge-keys
        </code>
      </a>
    </td>
  </tr>
</tbody>
</table>


## Sitemap

See the full [sitemap](https://nuxt-backend.dev/sitemap.md) for all pages.
