-
Notifications
You must be signed in to change notification settings - Fork 3
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
s3: getSignedUrl is missing #29
Comments
Hey, thanks for writing! High level, you're not missing anything here. The focus of this library is to provide clients to the AWS APIs, and pre-signing isn't actually an API call so it wasn't really in scope. This was previously brought up in #5. Please note that /x/aws_api isn't the actual AWS SDK. In that linked discussion, there is a link to an /x/ module just for pre-signing, check out the message here: #5 (comment) and I also have an example of using it with the /x/aws_api credential loader. I used that pre-signing module in another project and it does the trick, albeit with a somewhat narrow API. In summary, it would be interesting to work pre-signing methods into this module but there's nothing committed or in progress towards this feature at the exact moment. Definitely let me know if the other options work for your needs! |
Agh, I missed that issue. Apologies for the dupe. I'll try out the solutions proposed there. Feel free to close this. |
All good! I'd still like to track common requests like these so that I can discover what additional features to work on. In this case, the big dependency for pre-signing is defining an internal API to build signed URLs. It would be worth doing if the other options are lacking for some reason or another, which is the kind of thing you can provide a voice on as a user :) Regardless, I haven't documented this sort of limitation properly, so either way I have something to do before closing this issue |
Based on the response on cloudydeno/deno-aws_api#29 we had to use another method of creating presigned urls. We followed the recommendation on the above issue and pulled in a lib specifically for that
🚀 This is added in Example usages of both APIs are in this comment: |
I was looking to use getSignedUrl for uploading directly to s3, but didn't see the method in the generated s3 service. I do see it on the s3 service on the aws sdk referenced on main
Am I looking in the wrong place? Thanks for your help!
The text was updated successfully, but these errors were encountered: