Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
aaronrums
Contributor II
Contributor II

Possible to use custom S3 connection with built-in Talend S3 components such as tS3List?

Our business needs require that we sometimes authenticate to AWS using the BasicSessionCredentials object, instead of the BasicAWSCredentials object that the talend-generated code uses. The only difference is that BasicSessionCredentials

takes an AccessID, AccessKey and SessionToken parameters, but

BasicAWSCredentials

only takes A

ccessID and AccessKey parameters.

Writing the code for a new AmazonS3Client object to use this method of authentication is pretty straightforward for us. However, is it possible for other built-in talend S3 components to use this connection (for example, tS3List or tS3Put). In other words, can those components select out custom connection in the dropdown menu when "Use an Existing Connection" is selected?

This would be really helpful. If it's not possible we may need to write custom code for all S3 functionality just because of the authentication we need to use. Any help would be appreciated!

Labels (4)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi

the S3 components such as tS3Put or tS3Get use the same connection object defined on tS3Connection, so I'm afraid you have to re-write the S3 components if you use a custom connection component. You can find the source code of S3 components in

<Talend Studio installation directory>\plugins\org.talend.designer.components.localprovider_8.0.1.20211104_0248\components

 

Regards

Shong

View solution in original post

1 Reply
Anonymous
Not applicable

Hi

the S3 components such as tS3Put or tS3Get use the same connection object defined on tS3Connection, so I'm afraid you have to re-write the S3 components if you use a custom connection component. You can find the source code of S3 components in

<Talend Studio installation directory>\plugins\org.talend.designer.components.localprovider_8.0.1.20211104_0248\components

 

Regards

Shong