{
  "slug": "wrangler-temporary-preview-account-workflow-with-temporary-362d237a49aa",
  "title": "wrangler temporary preview account workflow with --temporary",
  "tools": [
    "wrangler"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-06-16T15:36:57.000Z",
  "announced_at": "2026-06-16T15:36:57.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When unauthenticated, run the supported Wrangler command with `--temporary` to use a temporary preview account. Follow Wrangler’s ToS and Privacy Policy notice, then claim the account using the printed URL within 60 minutes.",
    "examples": [
      "npx wrangler deploy --temporary"
    ],
    "gotchas": [
      "Version: 4.101.0",
      "Availability: Temporary Cloudflare preview account; short-lived account token. Available only on Workers (`deploy`, `versions upload`, and related commands), KV, D1, Hyperdrive, Queues, and certificate commands. For unauthenticated use only.",
      "--temporary: Use a temporary account; supported only on commands that accept temporary credentials. Existing OAuth, API token, or global API key credentials cause an error.",
      "Prerequisite: Wrangler 4.102.0 or later is required by the current deployment instructions. Claim the account within 60 minutes; the user must complete the claim flow before the deadline.",
      "Using `--temporary` while already authenticated with OAuth, `CLOUDFLARE_API_TOKEN`, or a global API key errors.",
      "Interactive terminals prompt for `yes` to accept Cloudflare's Terms of Service and Privacy Policy; non-interactive shells print a notice and continue.",
      "The account must be claimed using the printed claim URL before it expires.",
      "The cached account is cleared on successful login or logout.",
      "The exact expiration duration and complete list of supported commands are not stated.",
      "Docs conflict: The release note identifies this feature in Wrangler 4.101.0; current Cloudflare instructions say the `--temporary` deployment workflow requires Wrangler 4.102.0 or later."
    ]
  },
  "why_it_matters": "Deploy or manage a Worker from an environment with no Cloudflare credentials using a temporary preview account.",
  "before": "Start the OAuth login flow to authenticate before running the command.",
  "sources": [
    "https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%404.101.0",
    "https://developers.cloudflare.com/workers/platform/claim-deployments/"
  ],
  "rank": 0.96039,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "backfill-20261007",
    "verdict_id": "backfill-20261007:backfill-20261007-54bffe1864378a09-3:gate",
    "evidence_hash": "0a992b44516bd1a709411b1d042d151678de84495a0a854904679e178c6f0f86"
  },
  "review": {
    "draft_hash": "644bb74a9cb205e1932704dfafe6953f988a796128be2969114ed6baa469bae3",
    "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.96 >= 0.9; 2 needed) and Jev gave 0.71 (>= 0.6 needed)."
  }
}
