Google Cloud command-line utility

gswitch

gswitch is a local CLI that helps developers switch between Google Cloud configurations, restore matching Application Default Credentials, and optionally snapshot Google Workspace CLI credentials for the same account.

Data handling

Built for local credential switching.

01

Runs locally

gswitch runs on the user's machine and does not operate a hosted backend service.

02

Uses Google OAuth

Google OAuth is used to authorize Google Cloud and optional Workspace CLI access.

03

User controlled

Users choose the accounts and scopes they authorize, and can revoke access with Google.