Add support for generating a pre-signed S3 PUT url#6993
Add support for generating a pre-signed S3 PUT url#6993G-Rath wants to merge 1 commit intoaws:developfrom
Conversation
|
The CI failures seem unrelated to my change
& (on Windows)
Let me know if there's anything I need to do (e.g. rebase to pull in a fix) |
Should pass if you update your branch to latest base path. They removed Python 3.6 from the testing matrix now. |
927303f to
8db2324
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #6993 +/- ##
============================================
+ Coverage 0.08% 92.82% +92.74%
============================================
Files 208 204 -4
Lines 16629 16344 -285
============================================
+ Hits 14 15172 +15158
+ Misses 16615 1172 -15443
☔ View full report in Codecov by Sentry. |
|
@justin-kidman-axomic thanks for the heads up - I've rebased my branch, so now someone just needs to approve running the workflow |
|
I want to use your fork and test this new command. what is the best course of action? [Update]: Oh, I got my answer, the new binary is on |
|
I noticed that this patch is for an older version of the CLI, that dont yet uses Signature Version 4, so maybe this is the main reason that the patch didnt got merged :( |
|
@fczuardi this patch hasn't been merged as its still waiting to be reviewed; sigv4 has been out for quite a while and even mentioned in the description for this command so my expectation is it does support it, but if that was a blocker it would be requested in a review (which just has not happened yet). |
20ee029 to
4111106
Compare
|
@fczuardi if it helps, I've rebased this off latest @kdaily @tim-finnigan it would be good if we could move this PR along - could I at least get the workflows approved to know if CI is passing? |
|
Hello, are there any blockers remaining for this PR? I would like to help move this along if possible. Thanks! |
|
@yasamoka no blockers, just waiting for review from the AWS team |
|
It would be great if they could get this merged so the CLI could be used for both PUT and GET. I ran into this issue today. |
|
I checked the PR, it works when rebased on master. Merge it please? |
Issue #, if available: #3050
Description of changes:
This adds support for
aws s3 presign-putper the desired design.The design mentioned having
presignbecome an alias forpresign-get- I've left this out for now because it's not dependent on this PR so should be doable in a follow up PR (I don't mind doing it in this one, but for now am focusing on the core function).The design also mentioned having
presign-postwhich I've also left out as from what I can tell that requires significantly more work? I would be interested in exploring supporting that too as it sounds more powerful because you can pass a policy, but I'd prefer landing it separately given how PR should be ready to go and be usable without it.Finally, I've got a test drafted up but need some guidance on how to handle doing a PUT request as I can't find any examples elsewhere in the codebase and am not versed in Python enough to feel confident in picking an approach (I'm hoping that
sixhas a method similar to it'surlopenbut haven't been able to find anything so far).This is the draft of the test:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.