When accessing your S3 cloud provider, if you’d like to redirect your traffic through a proxy, you can add the following parameters to your Artifactory binarystore.xml file:
proxyHost : Hostname or the IP address of a proxy server proxyPort : Port number of a proxy server proxyIdentity : username to connect to a proxy server proxyCredential : password to connect to a proxy server
In practice, it will look similar to the following example:
<config version="2"> <chain template="google-storage-v2"/> <provider id="google-storage-v2" type="google-storage-v2"> <bucketName>my-bucket</bucketName> <path>myPath</path> <rootFoldersNameLength>3</rootFoldersNameLength> <useInstanceCredentials>false</useInstanceCredentials> <signatureExpirySeconds>10</signatureExpirySeconds> <proxyHost>127.0.0.1</proxyHost> <proxyPort>8888</proxyPort> <proxyIdentity>username</proxyIdentity> <proxyCredential>password</proxyCredential> <maxConnections>50</maxConnections> <connectionTimeout>120000</connectionTimeout> </provider> </config>