← Auth12 / 640
hardgcloud

Authenticate gcloud using a service account JSON key file

command

gcloud auth activate-service-account --key-file KEY_FILE

also accepted

gcloud auth activate-service-account --key-file

Test your recall — not just your reading.

Practice with interactive quiz →