Skip to content

9.2 HTTP Proxy

Chris Wiechmann edited this page Nov 24, 2020 · 2 revisions

Use the following parameters to configure a proxy for the APIM CLI You can pass them either globally in env.properties, per stage (e.g. env.prod.properties) or individually as command-line parameters.

To use a proxy use the following parameters: -httpProxyHost proxy.host -httpProxyPort 7878 -httpProxyUsername myProxyUser -httpProxyPassword myProxyPW

The intend is of course not to provide the proxy with every execution, instead configure that parameters with your stage (e.g. conf/env.prod.properties) or just global in conf/env.properties. Example:

httpProxyHost=proxyHost
httpProxyPort=8987
httpProxyUsername=proxyUser
httpProxyPassword=proxyPassword

Learn more about environment property files.