How can I proxy my S3 traffic?

How can I proxy my S3 traffic?

AuthorFullName__c
Jayanth Suresh
articleNumber
000002806
ft:sourceType
Salesforce
FirstPublishedDate
2016-11-21T15:16:01Z
lastModifiedDate
2023-02-26T12:26:02Z
VersionNumber
6

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>