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

Creating a presigned PUT URL with public-read ACL #69

Open
randy-johnson opened this issue Mar 10, 2023 · 1 comment
Open

Creating a presigned PUT URL with public-read ACL #69

randy-johnson opened this issue Mar 10, 2023 · 1 comment

Comments

@randy-johnson
Copy link

Hello,

I am trying to generate a presigned PUT URL where the file has public-read acl after it is uploaded. Googling around the different SDKs I do see it is possible, but I cannot seem to figure out the spot in this library to add it.

I was able to upload the file just fine with the correct content type by taking the generatePresignedURL function and changing the verb to PUT.

Any help would be appreciated. If I do get it figured out I will report back.

@randy-johnson
Copy link
Author

It turns out that I can accomplish this another way with a bucket policy. I am still finalizing the policy with Wasabi support, but I don't think this will be needed, but if it is possible it would be cool to add.

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

No branches or pull requests

1 participant