oauth2/google/internal/externalaccount
aeitzman 510acbce1f google/internal/externalaccount: Added check for aws region and security credential environment variables before aws metadata call
Adds check for aws values in environment variables before the metadata server is called to prevent unnecessary off box calls. See https://github.com/googleapis/google-auth-library-java/pull/1100 for same change in java library.

Change-Id: Ie86a899be88c38d3fcbbe377f9bf30a7a66530c0
GitHub-Last-Rev: bcab69572c
GitHub-Pull-Request: golang/oauth2#612
Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/453715
Reviewed-by: Leo Siracusa <leosiracusa@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Cody Oss <codyoss@google.com>
Auto-Submit: Cody Oss <codyoss@google.com>
Reviewed-by: Cody Oss <codyoss@google.com>
2022-11-30 16:58:33 +00:00
..
testdata google: base account credentials with file-sourcing 2021-01-12 20:04:29 +00:00
aws.go google/internal/externalaccount: Added check for aws region and security credential environment variables before aws metadata call 2022-11-30 16:58:33 +00:00
aws_test.go google/internal/externalaccount: Added check for aws region and security credential environment variables before aws metadata call 2022-11-30 16:58:33 +00:00
basecredentials.go google/internal/externalaccount: Adding metadata verification 2022-11-17 22:06:29 +00:00
basecredentials_test.go google/internal/externalaccount: allowing PSC Urls 2022-10-14 15:30:46 +00:00
clientauth.go google/externalaccount: validate tokenURL and ServiceAccountImpersonationURL 2021-08-17 22:35:10 +00:00
clientauth_test.go google/externalaccount: validate tokenURL and ServiceAccountImpersonationURL 2021-08-17 22:35:10 +00:00
err.go google: add utilities supporting upcoming oauth2 functionality 2020-11-09 20:14:03 +00:00
err_test.go google: add utilities supporting upcoming oauth2 functionality 2020-11-09 20:14:03 +00:00
executablecredsource.go google: restore compatibility with older Go version 2022-08-22 19:18:16 +00:00
executablecredsource_test.go fix: missing expiration_time field isn't a problem for executables 2022-08-08 17:26:28 +00:00
filecredsource.go google: base account credentials with file-sourcing 2021-01-12 20:04:29 +00:00
filecredsource_test.go google: Use bytes.Buffer for go 1.9 compatability 2021-04-02 16:14:24 +00:00
impersonate.go google/internal/externalaccount: allow impersonation lifetime changes 2022-07-18 18:49:31 +00:00
impersonate_test.go google/internal/externalaccount: allow impersonation lifetime changes 2022-07-18 18:49:31 +00:00
sts_exchange.go google/externalaccount: validate tokenURL and ServiceAccountImpersonationURL 2021-08-17 22:35:10 +00:00
sts_exchange_test.go google/externalaccount: validate tokenURL and ServiceAccountImpersonationURL 2021-08-17 22:35:10 +00:00
urlcredsource.go google/externalaccount: validate tokenURL and ServiceAccountImpersonationURL 2021-08-17 22:35:10 +00:00
urlcredsource_test.go google: check additional AWS variable 2021-06-22 16:52:04 +00:00