Weeks ago I've started impersonation of an ServiceAccount using gcloud auth activate-service-account command. Now I can't get back to my normal user account and every command I run is using impersonation, even gcloud config set project ... throws:
WARNING: This command is using service account impersonation.
I tried gcloud auth login, gcloud init and more... Removed credentials.db file from .config/gcloud of my Linux home directory. The docs have nothing on a subject how to stop impersonation.
Does anyone know the proper command to stop impersonation?
This might not be production-ready solution or there are better options, but it worked for me
gcloud auth application-default loginand follow instructions (browser will open) - it might helpIf above didn't help for you, I did additional step before rerunning the command above:
gcloud auth application-default login