Environment variable gcloud auth activate-service-account supports

1,390 views
Skip to first unread message

red 888

unread,
Feb 2, 2018, 6:50:00 AM2/2/18
to gce-discussion
I tried setting GOOGLE_APPLICATION_CREDENTIALS to the path of my json key but it doesn't work:

+ gcloud auth activate-service-account
ERROR: (gcloud.auth.activate-service-account) argument --key-file: Must be specified.


Many other commands support this env. Is there an env that gcloud auth supports? Or do I have to pass it in manually

Carlos (Cloud Platform Support)

unread,
Feb 2, 2018, 1:11:41 PM2/2/18
to gce-discussion
There are some relevant workarounds discussed in Serverfault and also on this public issue
Reply all
Reply to author
Forward
0 new messages