Wrangler now includes a new wrangler auth token command that retrieves your current authentication token or credentials for use with other tools and scripts. wrangler auth token The command returns whichever authentication method is currently configured, in priority order: API token from CLOUDFLAREAPITOKEN , or OAut...
Workers - Retrieve your authentication token with `wrangler auth token`
Cloudflare Developer Platform Changelog · 2025-12-18
Related items
Workers - Declare required secrets in your Wrangler configuration
The new secrets configuration property lets you declare the secret names your Worker requires in your Wrangler configuration file. Required secrets are validated during local development and deploy, and used as the source of truth for type generation. wrangler.jsonc { " secrets " : { " required " : [ "APIKEY" , "DBP...
Workers - Validate your generated types with `wrangler types --check`
Wrangler now supports a --check flag for the wrangler types command. This flag validates that your generated types are up to date without writing any changes to disk. This is useful in CI/CD pipelines where you want to ensure that developers have regenerated their types after making changes to their Wrangler configu...
Cloudflare Tunnel, Workers - Manage Cloudflare Tunnels with Wrangler
You can now manage Cloudflare Tunnels directly from Wrangler , the CLI for the Cloudflare Developer Platform. The new wrangler tunnel commands let you create, run, and manage tunnels without leaving your terminal. Available commands: wrangler tunnel create — Create a new remotely managed tunnel. wrangler tunnel list...
Workers - Easy Python package management with Pywrangler
We are introducing a brand new tool called Pywrangler, which simplifies package management in Python Workers by automatically installing Workers-compatible Python packages into your project. With Pywrangler, you specify your Worker's Python dependencies in your pyproject.toml file: [ project ] name = "python-beautif...
D1, Workers - D1 automatically retries read-only queries
D1 now detects read-only queries and automatically attempts up to two retries to execute those queries in the event of failures with retryable errors. You can access the number of execution attempts in the returned response metadata property totalattempts . At the moment, only read-only queries are retried, that is,...
Workers - Shell tab completions for Wrangler CLI
Wrangler now includes built-in shell tab completion support, making it faster and easier to navigate commands without memorizing every option. Press Tab as you type to autocomplete commands, subcommands, flags, and even option values like log levels. Tab completions are supported for Bash, Zsh, Fish, and PowerShell....