With great power (a JSON key file) comes great responsibility (never commit it to GitHub).

Before diving into the command, let’s define the actor. A is not a person; it is a Google Cloud identity belonging to your application or virtual machine. It uses JSON keys (or OIDC tokens) instead of passwords.

Gcloud Auth Activate-service-account | Updated

With great power (a JSON key file) comes great responsibility (never commit it to GitHub).

Before diving into the command, let’s define the actor. A is not a person; it is a Google Cloud identity belonging to your application or virtual machine. It uses JSON keys (or OIDC tokens) instead of passwords.