W
Wrangler
Details
- Command
-
wrangler - Docs
- https://developers.cloudflare.com/workers/wrangler/
Authentication
Wrangler login session oauth2 discovered
$ wrangler login Acquired by the CLI — running wrangler login opens the auth flow and stores the credential.
env CLOUDFLARE_API_TOKEN In the Cloudflare dashboard API Tokens page, create an API token or use one of Cloudflare's templates, then grant the minimum required permissions for the account or zone resources you need. Cloudflare's fundamentals docs link to the dashboard token creation flow from Create API token. For non-interactive use with Wrangler, you can also export it as CLOUDFLARE_API_TOKEN.