Is it true you need to specify somehow put_object and method PUT when creating a presign URL. The official docs say you have to, but CLI doesn't support it https://docs.aws.amazon.com/code-library/latest/ug/s3_example_s3_Scenario_PresignedUrl_section.html
2
-
Correct, the CLI does not support put_object. You'll need to use the SDK with some language like Python.Anon Coward– Anon Coward2024-04-15 14:20:03 +00:00Commented Apr 15, 2024 at 14:20
-
This question is similar to: Generating a presigned URL to upload to an S3 bucket. If you believe it’s different, please edit the question, make it clear how it’s different and/or how the answers on that question are not helpful for your problem.dur– dur2024-10-15 11:02:17 +00:00Commented Oct 15, 2024 at 11:02
Add a comment
|
1 Answer
If anyone is asking the sane question - you can't do generate presign URL for upload via CLI. Create a Python script file with boto3. Use the official AWS S3 docs
1 Comment
Community
As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.