These environment variables can be used in addition to command line flags to influence the behavior of Sauce Connect.
Environment Variable | Description | Platforms | Command Line Option |
---|
SAUCE_USERNAME | Sauce Labs username. | Windows, Linux, Mac OS X | --user |
SAUCE_ACCESS_KEY | Sauce Labs access key. | Windows, Linux, Mac OS X | --api-key |
http_proxy | An HTTP proxy that will be used by Sauce Connect. It can be in the format of http://hostname:port or just hostname:port . | Windows, Linux, Mac OS X
| --proxy |
HTTP_PROXY |
all_proxy |
ALL_PROXY |
no_proxy | A comma-separated list of hostnames that will not be proxied, even when Sauce Connect is configured to use a proxy. Subdomain wildcarding is supported when the hostname starts with a ".". Examples saucelabs.com,foobar.net
Only requests hitting saucelabs.com and foobar.net will not be proxied, all other requests will be..example.com All requests going to any subdomain of example.com will not be proxied, e.g. one.example.com , asdf.example.com
| Linux | |
NO_PROXY |
SAUCE_ARES_FLAGS | Advanced flags for the DNS library Sauce Connect uses, integer. See http://c-ares.haxx.se/ares_init.html for more information. | Windows, Linux, Mac OS X | |