-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync two S3 buckets in two different AWS accounts using AWS Profile + assumeRole to access S3 API? #37
Comments
Hello. |
@larrabee thanks for the quick reply. Sorry for not mentioning this in my initial post - of course I did test the setup with s3sync, but it did not work.
|
Hello again;)
Is AWS regions correct? By default it's connecting to |
@larrabee yes, I did all that: $ env | grep AWS
The credentials file (
The difference in my case is that I want to "assume a role". The credentials file contains my access credentials, but then a file
So I assume the role of In short, the aws_secret_access_key authenticate me as a human, the role is the role I have related to the particular account. This is quite common in larger / enterprise usage of AWS accounts. |
I'm commit changes to branch |
Hey @larrabee thanks for really digging into this! Really appreciate it. I built s3sync in branch assumeRole_debug with the commit ... but nothing has changed unfortunately. |
Please try new version from branch |
Yeah! It works splendidly. |
Changes merged to master. |
Thanks for creating this great tool!
I attempted to use s3sync with a setup that requires an assumeRole to access the target bucket but apparently this is not supported (yet)?
More particular the setup looks like this:
to allow the destination bucket to list and pull the files.
and it was syncing the objects quite happily ... just not as fast as I'd like to ;-)
My questons or potential feature request now is to be able to use s3sync in this setup.
The text was updated successfully, but these errors were encountered: