W

Wrangler CLI

CLI discovered

Details
Command
wrangler
Docs
https://developers.cloudflare.com/workers/wrangler/
Authentication
OAuth 2.0 oauth2 discovered $ wrangler login

Acquired by the CLI — running wrangler login opens the auth flow and stores the credential.

Cloudflare API token bearer discovered Get token ↗
env CLOUDFLARE_API_TOKEN

Create a token in the Cloudflare dashboard API Tokens page. Choose Create Token, pick a template or custom permissions, scope it to the needed account/zone resources, then copy the token secret when shown. Cloudflare recommends API tokens over the legacy global key. For durable service-principal style integrations, you can instead create an account-owned token from Manage AccountAccount API Tokens as documented in Account API tokens.