fix: IPA IAM use http proxy from environment

This commit is contained in:
Yuriy Halytskyy
2025-05-13 17:14:04 +12:00
committed by Ben McClelland
parent 12b25b7f83
commit 925f89465e

View File

@@ -72,6 +72,7 @@ func NewIpaIAMService(rootAcc Account, host, vaultName, username, password strin
mTLSConfig := &tls.Config{InsecureSkipVerify: isInsecure}
tr := &http.Transport{
TLSClientConfig: mTLSConfig,
Proxy: http.ProxyFromEnvironment,
}
ipa.client = http.Client{Jar: jar, Transport: tr}