Gcloud | Auth Activate Service Account
The command is activate-service-account (with hyphens), not activate service account .
Here's the correct gcloud command to activate a service account: gcloud auth activate-service-account [ACCOUNT] --key-file=[KEY_FILE] Examples: Using a JSON key file: gcloud auth activate service account
gcloud auth activate-service-account my-sa@project-123.iam.gserviceaccount.com --key-file=/path/to/keyfile.json The command is activate-service-account (with hyphens)