diff --git a/core/container_authenticator.go b/core/container_authenticator.go index 651ae078..2a47409f 100644 --- a/core/container_authenticator.go +++ b/core/container_authenticator.go @@ -195,6 +195,7 @@ func (authenticator *ContainerAuthenticator) client() *http.Client { transport := &http.Transport{ // #nosec G402 TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, + Proxy: http.ProxyFromEnvironment, } authenticator.Client.Transport = transport } diff --git a/core/cp4d_authenticator.go b/core/cp4d_authenticator.go index fb8e3043..72917521 100644 --- a/core/cp4d_authenticator.go +++ b/core/cp4d_authenticator.go @@ -177,6 +177,7 @@ func (authenticator *CloudPakForDataAuthenticator) client() *http.Client { transport := &http.Transport{ // #nosec G402 TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, + Proxy: http.ProxyFromEnvironment, } authenticator.Client.Transport = transport } diff --git a/core/iam_assume_authenticator.go b/core/iam_assume_authenticator.go index 0132b41f..634f30a1 100644 --- a/core/iam_assume_authenticator.go +++ b/core/iam_assume_authenticator.go @@ -265,6 +265,7 @@ func (authenticator *IamAssumeAuthenticator) getClient() *http.Client { transport := &http.Transport{ // #nosec G402 TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, + Proxy: http.ProxyFromEnvironment, } authenticator.client.Transport = transport } diff --git a/core/iam_authenticator.go b/core/iam_authenticator.go index ff083083..aea04841 100644 --- a/core/iam_authenticator.go +++ b/core/iam_authenticator.go @@ -187,6 +187,7 @@ func (authenticator *IamAuthenticator) client() *http.Client { transport := &http.Transport{ // #nosec G402 TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, + Proxy: http.ProxyFromEnvironment, } authenticator.Client.Transport = transport } diff --git a/core/mcsp_v1_authenticator.go b/core/mcsp_v1_authenticator.go index 1fae07ed..0bf05c88 100644 --- a/core/mcsp_v1_authenticator.go +++ b/core/mcsp_v1_authenticator.go @@ -133,6 +133,7 @@ func (authenticator *MCSPAuthenticator) client() *http.Client { transport := &http.Transport{ // #nosec G402 TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, + Proxy: http.ProxyFromEnvironment, } authenticator.Client.Transport = transport } diff --git a/core/mcsp_v2_authenticator.go b/core/mcsp_v2_authenticator.go index 4400bc09..ec88a6d4 100644 --- a/core/mcsp_v2_authenticator.go +++ b/core/mcsp_v2_authenticator.go @@ -229,6 +229,7 @@ func (authenticator *MCSPV2Authenticator) client() *http.Client { transport := &http.Transport{ // #nosec G402 TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, + Proxy: http.ProxyFromEnvironment, } authenticator.Client.Transport = transport }