Skip to content
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

Allow any S3 verb when creating pre-signed URL #8864

Open
wants to merge 1 commit into
base: v2
Choose a base branch
from

Conversation

cartermckinnon
Copy link
Member

@cartermckinnon cartermckinnon commented Aug 13, 2024

Description of changes:

Adds the ability create pre-signed S3 URL's for PUT/DELETE/HEAD/etc.

Example:

PRESIGNED_URL=$(aws s3 presign s3://my-bucket/foo.txt --verb put)
curl --upload-file foo.txt $PRESIGNED_URL

PRESIGNED_URL=$(aws s3 presign s3://my-bucket/foo.txt --verb delete)
curl -X DELETE $PRESIGNED_URL

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@cartermckinnon cartermckinnon changed the title Allow any S3 verb when creating pre-signed URL [WIP] Allow any S3 verb when creating pre-signed URL Aug 13, 2024
@cartermckinnon cartermckinnon changed the title [WIP] Allow any S3 verb when creating pre-signed URL Allow any S3 verb when creating pre-signed URL Aug 13, 2024
@cartermckinnon
Copy link
Member Author

The couple of PR checks that failed look like flakes to me 🤷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant