📁 Categories: Development Projects & Case Studies

How to Use Wrangler Auth Profiles: Automatically Switch Cloudflare Accounts by Project Folder

Switching between multiple Cloudflare accounts (personal and client) on one PC can lead to a scary mistake: running a command against the wrong account because you forgot to switch the login state back. Wrangler auth profiles, added in July 2026, let you pin a Cloudflare account to each project folder, which is especially useful when running several Claude Code projects in parallel. This article walks through the setup and how it works under the hood, based on real hands-on testing.