How to get Proxy at runtime


Our HTTP/HTTPS proxy requires client authentication using Windows domain user authentication, which is smart-card based 2FA. Since it’s not a plain username and password, it’s not clear how to specify it with Terraform. The proxy itself is reachable when configured as environmental variable HTTPS_PROXY, but it returns “Proxy Authentication Required” when attempting to init, and HTTPS_USER/HTTPS_PASSWORD doesn’t help. So the question is rather how to authenticate in such conditions.

Thanks in advance for your response