Skip to end of metadata
Go to start of metadata

These environment variables can be used in addition to command line flags to influence the behavior of Sauce Connect.

Not all environment variables are supported on all platforms. When an environment variable is used, it can still be overridden by the command line; command line options (when available) always take precedence.

Environment VariableDescriptionPlatformsCommand Line Option
SAUCE_USERNAMESauce Labs username.

Windows, Linux, Mac OS X

--user

SAUCE_ACCESS_KEYSauce 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.

Version 4.5.0 and above.

On Linux and Mac environments http_proxy and https_proxy variables can contain proxy credentials in the following format scheme://user:password@host: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_FLAGSAdvanced 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

 

 

  • No labels