Open patrickhuber opened 6 years ago
this is quasi implemented because the CREDHUB_PROXY variable is utilized by the credhub library which is used by this cli.
the feature could be implemented by:
proxy
property is set, it overrides other properties. This value will be written with os.SetEnv to CREDHUB_PROXYproxy_ip
, proxy_key
and proxy_user
are all set, then the proxy can be assembled. If they are all unset, skip if they are partially set throw an error. The finished value will be written to CREDHUB_PROXYPopping and Pushing the CREDHUB_PROXY variable needs to be done in the scope of one request. An may not be necessary as the os.SetEnv is only scoped to the current proccess.
verify that credhub config source communication works through a socks 5 proxy