Prompt Buddy logoPrompt Buddy

cloudflare · Cloudflare Workers Docs

Workers Authentication

Configures authentication for the deprecated Wrangler v1 using CLI commands, environment variables, or API tokens.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Workers Authentication

Configures authentication for the deprecated Wrangler v1 using CLI commands, environment variables, or API tokens.

When To Use

Use when you need to authenticate a legacy Wrangler v1 environment via the command line, set up CI/CD credentials using environment variables, or generate specific API tokens for Cloudflare Workers.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-wrangler-migration-authentication-workflow-guide.mdA guide detailing how to manage authentication when migrating from Wrangler v1 to v2, including command usage and environment variables.Questions about a guide detailing how to manage authentication when migrating from Wrangler v1 to v2, including command usage and env...
examples/workers-wrangler-migration-authentication-cloudflare-workers-wrangler-mi.textA text snippet demonstrating the use of CF_ACCOUNT_ID and CF_API_TOKEN environment variables for Wrangler authentication during migration.Exact payloads, commands, or snippets shown in A text snippet demonstrating the use of CFACCOUNTID and CFAPITOKEN environment variables for Wrangler authentication...
examples/workers-wrangler-migration-authentication-cloudflare-workers-wrangler-mi-2.textAn example showing how to set CF_EMAIL and CF_API_KEY environment variables for wrangler authentication during migration.Exact payloads, commands, or snippets shown in An example showing how to set CFEMAIL and CFAPIKEY environment variables for wrangler authentication during migration.
examples/workers-wrangler-migration-authentication-cloudflare-workers-wrangler-le.textA text representation of the wrangler config command used for authentication during the migration from Wrangler v1 to v2.Exact payloads, commands, or snippets shown in A text representation of the wrangler config command used for authentication during the migration from Wrangler v1 to...
examples/workers-wrangler-migration-authentication-cloudflare-workers-wrangler-mi-3.textA text representation of the interactive prompt and user input for entering an API token during a Wrangler migration.Exact payloads, commands, or snippets shown in A text representation of the interactive prompt and user input for entering an API token during a Wrangler migration.
examples/workers-wrangler-migration-authentication-cloudflare-workers-wrangler-le-2.textA text snippet demonstrating the wrangler config command used to set an API key for legacy wrangler authentication.Exact payloads, commands, or snippets shown in A text snippet demonstrating the wrangler config command used to set an API key for legacy wrangler authentication.
examples/workers-wrangler-migration-authentication-cloudflare-workers-wrangler-le-3.textA text representation of the interactive CLI prompts for entering an email and global API key during a legacy Wrangler authentication session.Exact payloads, commands, or snippets shown in A text representation of the interactive CLI prompts for entering an email and global API key during a legacy Wrangle...

What This Skill Covers

  • This page is for Wrangler v1, which has been deprecated.Learn how to update to the latest version of Wrangler.
  • Main sections: Background, Using commands, Using environment variables, Generate Tokens, API token.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://developers.cloudflare.com/workers/wrangler/migration/v1-to-v2/wrangler-legacy/authentication