Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2fefa570 authored by Kousik Kumar's avatar Kousik Kumar Committed by Automerger Merge Worker
Browse files

Add google_prod_creds to the list of auth mechanisms am: f7574b54 am: f6c29aa6 am: 6e9b4d65

parents 56d1c8ce 6e9b4d65
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -902,7 +902,12 @@ func (c *configImpl) rbeReproxy() string {
}

func (c *configImpl) rbeAuth() (string, string) {
	credFlags := []string{"use_application_default_credentials", "use_gce_credentials", "credential_file"}
	credFlags := []string{
		"use_application_default_credentials",
		"use_gce_credentials",
		"credential_file",
		"use_google_prod_creds",
	}
	for _, cf := range credFlags {
		for _, f := range []string{"RBE_" + cf, "FLAG_" + cf} {
			if v, ok := c.environ.Get(f); ok {