Skip to content

Google Cloud SDK Command Prompts

Brett Vachon edited this page Jun 6, 2026 · 9 revisions

Before running these commands, add %LOCALAPPDATA%\Google\ct4j-cloud-sdk\539.0.0\google-cloud-sdk\bin to your path environment variable.


List all projects

gcloud projects list

Fix IAM permissions (fixes the error: service account does not have access to the bucket)

gcloud projects add-iam-policy-binding [PROJECT-ID] --member="serviceAccount:[PROJECT-ID]@appspot.gserviceaccount.com" --role="roles/storage.admin"

gcloud projects add-iam-policy-binding [PROJECT-ID] --member="serviceAccount:[PROJECT-ID]@appspot.gserviceaccount.com" --role="roles/appengine.appAdmin"

Logout from Google

gcloud auth revoke --all

Clone this wiki locally