Using gcloud auth ... you can add or remove accounts used during the gcloud commands.
Is there a way to get the active account without grep-ing and awk-ing?
gcloud auth list is good for humans but not good enough to a machine. I want a cleaner solution.
gcloud config list account also shows me to verbose output:
Your active configuration is: [default]
[core]
account = service@<my_project>.iam.gserviceaccount.com