Basics
Publish date: Feb 5, 2023
Last updated: Feb 5, 2023
Last updated: Feb 5, 2023
List all authenticated credentials (principals)
gcloud auth list
Make another account active
gcloud config set account `ACCOUNT`
Activate Service account (if new and no principals)
gcloud auth activate-service-account --key-file=/path/to/key.json