You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
exit.Message(reason.InternalCredsNotFound, "Could not find any GCP credentials. Either run `gcloud auth application-default login` or set the GOOGLE_APPLICATION_CREDENTIALS environment variable to the path of your credentials file.")
64
66
}
65
67
68
+
ifcreds.JSON==nil {
69
+
// Cloud Shell sends credential files to an unusual location, let's check that location
70
+
// For example, CLOUDSDK_CONFIG=/tmp/tmp.cflmvysoQE
exit.Message(reason.InternalCredsNotFound, "Could not find any GCP credentials. Either run `gcloud auth application-default login` or set the GOOGLE_APPLICATION_CREDENTIALS environment variable to the path of your credentials file.")
76
+
}
77
+
creds.JSON=b
78
+
} else {
79
+
// We don't currently support authentication through the metadata server
80
+
exit.Message(reason.InternalCredsNotFound, "Could not find any GCP credentials. Either run `gcloud auth application-default login` or set the GOOGLE_APPLICATION_CREDENTIALS environment variable to the path of your credentials file.")
0 commit comments