Fork me on GitHub
#aws
<
2021-05-27
>
MikeE12:05:39

Hello - I need to generate a signed url to allow client uploading to an S3 bucket and I don’t see in the aws-api library any way to actually do that.. There’s a long standing https://github.com/cognitect-labs/aws-api/issues/5 saying it’s in progress so I’m wondering how folks are doing this. I could include the java AWS SDK core (i’m assuming that’s where the v4 signing utility lives) in my project.clj and use interop but wasn’t sure if there was a better solution.

lukasz13:05:30

We solved it by including the java sdk, it works fine

alexmiller13:05:57

That’s probably a good solution for now

viesti13:05:22

Here's an example for using the aws java sdk v2 for presigning: https://gist.github.com/viesti/4fbe2e226b923adebadffcf44a3ed8e7

MikeE14:05:50

your gist worked great