From d2fc13d26887668b781c4b85d2a5100a2fcb5dea Mon Sep 17 00:00:00 2001 From: Patrick Jones Date: Tue, 12 Jan 2021 12:47:06 -0800 Subject: [PATCH] First steps. Change-Id: I85f24bcca91afa4060bc0f0b0799ba8abbb8abdb --- google/internal/externalaccount/basecredentials.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/google/internal/externalaccount/basecredentials.go b/google/internal/externalaccount/basecredentials.go index 3291d46..b070133 100644 --- a/google/internal/externalaccount/basecredentials.go +++ b/google/internal/externalaccount/basecredentials.go @@ -69,6 +69,8 @@ type CredentialSource struct { func (c *Config) parse() baseCredentialSource { if c.CredentialSource.File != "" { return fileCredentialSource{File: c.CredentialSource.File, Format: c.CredentialSource.Format} + } else if c.CredentialSource.URL != "" { + return urlCredentialSource{URL: c.CredentialSource.URL, Format: c.CredentialSource.Format} } return nil }