-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Support for requester-pays buckets #797
Comments
Any idea when this will be supported? |
ping again, @jamesls there is a patch for s3cmd http://arxiv.org/help/faq/bulk_data_s3_patch.txt, i tried to find similar code related to headers in awscli/customizations/s3 , but i got nothing. |
This is now available in the 1.7.16 release of the AWS CLI. There's the control plane operations for configuring request payers on a bucket, and the various operation on an S3 object now have a |
How about some documentation about this feature? "--request-payer" is not an option, as far as I can tell, and I can't find what the actual option is. |
@jure It should be documented on the various operations that support
|
I see, thank you @jamesls. I was trying to use |
@jamesls just to confirm, one is supposed to do something like
|
I also am confused about how to use this despite the comments above. |
That's correct that you would specify |
Why isn't this part of |
It looks like |
For anyone else wanting to use
With following changes made on awscli-1.11.172:
FYI this is hack, don't use long-term... |
@jdellithorpe It works perfectly without request-payer enabled on the bucket. Thanks. |
@jdellithorpe : I have aws cli version 1.14.36 aws --version I tried s3 sync with requester pays option aws --profile s3 sync --request-payer It says Unknown options: --request-payer Any idea why? |
I had the same issue before. Updating awscli fixed it.
|
Yep. We just added support for |
Hello Jiawei and Kyle,
Thanks a lot for your comments and clarifications.
I was able to download the forked branch and make it work towards the end
of the last week.
But it is good to know that it is now available in 1.14.42. This is
excellent news.
I will test it out today itself.
- Mahesh
…On Tue, Feb 20, 2018 at 9:00 AM, Kyle Knapp ***@***.***> wrote:
Yep. We just added support for --request-payer for the cp, mv, sync, and
rm commands in 1.14.42. Upgrade to that version to start using it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#797 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/Ais95pC6ZrJqmSDeGnCQVj829q9rR11eks5tWvofgaJpZM4B_j0w>
.
|
I'm still not seeing the
|
Hello Brett,
Did you try the following command:
aws s3 sync src_s3_bucket dest_s3_bucket --request-payer requester
or
aws s3 ls s3://src_s3_bucket/object --request-payer requester
It has been working for me since version 1.14.x
Thanks,
Mahesh
…On Mon, Sep 10, 2018 at 3:01 PM Brett Cullen ***@***.***> wrote:
I'm still not seeing the request-payer argument
aws-cli/1.16.10 Python/2.7.15 Darwin/16.7.0 botocore/1.12.0
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#797 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/Ais95oVN1E-iDTZS6eDAkAY5VfN1ELocks5uZuEqgaJpZM4B_j0w>
.
|
I can get aws s3 ls to work with the |
If a bucket is marked as a requester-pays bucket, then GetObject requests must specify the following header:
There's no mention anywhere of how I might set this header using
aws s3 cp
oraws s3api get-object
. Is it supported? Is there maybe a workaround in some fashion similar to aws/aws-sdk-js#100 (comment)?The text was updated successfully, but these errors were encountered: