Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
BasicAWSCredentialsonly 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!
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
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