We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4cb783b + 7b509e2 commit 43a82abCopy full SHA for 43a82ab
pkg/asset/installconfig/gcp/session.go
@@ -16,7 +16,7 @@ import (
16
)
17
18
var (
19
- authEnvs = []string{"GOOGLE_CREDENTIALS", "GOOGLE_CLOUD_KEYFILE_JSON", "GCLOUD_KEYFILE_JSON"}
+ authEnvs = []string{"GOOGLE_APPLICATION_CREDENTIALS", "GOOGLE_CREDENTIALS", "GOOGLE_CLOUD_KEYFILE_JSON", "GCLOUD_KEYFILE_JSON"}
20
defaultAuthFilePath = filepath.Join(os.Getenv("HOME"), ".gcp", "osServiceAccount.json")
21
credLoaders = []credLoader{}
22
onceLoggers = map[credLoader]*sync.Once{}
0 commit comments