{
  "slug": "vercel-cli-reads-vercel-token-for-authentication-60b4d654f270",
  "title": "vercel CLI reads VERCEL_TOKEN for authentication",
  "tools": [
    "vercel"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-02-05T21:01:29.000Z",
  "announced_at": "2026-02-05T21:01:29.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When authenticating a Vercel CLI task, set `VERCEL_TOKEN` in the environment and run the intended CLI command. If `VERCEL_TOKEN` and `--token` are both provided, `--token` takes precedence.",
    "examples": [
      "export VERCEL_TOKEN=<token>\nvercel deploy"
    ],
    "gotchas": [
      "Version: 50.12.1",
      "VERCEL_TOKEN: Environment variable containing the authorization token; use it as an alternative to `--token`.",
      "--token <token> (shorthand: -t): Pass an authorization token directly to a CLI command. Takes precedence over `VERCEL_TOKEN` if both are provided.",
      "Prerequisite: Install Vercel CLI (`pnpm i -g vercel` in the CLI overview). CLI authentication is required before accessing resources or performing administrative tasks.",
      "The `--token` flag takes precedence over `VERCEL_TOKEN` when both are provided."
    ]
  },
  "why_it_matters": "When scripting a Vercel CLI task or configuring CI/CD authentication, provide the token through the environment.",
  "sources": [
    "https://github.com/vercel/vercel/releases/tag/vercel%4050.12.1",
    "https://vercel.com/docs/cli/global-options",
    "https://vercel.com/docs/cli"
  ],
  "rank": 0.97039,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "backfill-20261007",
    "verdict_id": "backfill-20261007:backfill-20261007-14548e219a9b16fb-0:gate",
    "evidence_hash": "58216f385e6cc0ec40cb653b351f2267d04a3beac71ee21ed97d97b0b89f9cac"
  },
  "review": {
    "draft_hash": "28a3d0469ee01e16c3ba58e41896e14b203e87d9e0f4aae8a239d2b82ee848e6",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "backfill-20261007:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.97 >= 0.9; 2 needed) and Jev gave 0.76 (>= 0.6 needed)."
  }
}
