ExpediaGroup/circus-train

Provide sts assume role support for s3-s3 copier

Closed this issue · 1 comments

As a user of CT
I'd like to configure ct with a user arn for source and target
So that CT can assume the correct role when reading and writing data

Similar to what we provide to s3MapReduceCopier we should allow the sts assume credentials provider to be configured.
It should be configurable on source and target with different settings.

Code changes will probably be very similar to the other half of https://github.com/HotelsDotCom/circus-train/pull/105/files <- this changed both the S3MapReduceCopier (which has already been done in the PR referenced above) and the S3S3Copier (what needs to happen here).