Fork me on GitHub
#aws
<
2020-05-23
>
lvh18:05:01

Does anyone have any conveniently packaged ways to generate S3 pre-signed GET URLs? I don't want to use the Java SDK, because I'm already using Cognitect's SDK to keep JAR size down; I've seen https://github.com/cognitect-labs/aws-api/issues/5 which has a workaround gist but only for POSTs (and adapting it to GET/PUT style requests is nontrivial). There's https://github.com/gkarthiks/s3-presigned-url, but that only takes an access key and a secret, not a session token (which is necessary for role creds).

ghadi19:05:11

@lvh our next version of aws-api should have some support for presigning

👏 4
lvh19:05:45

Hooray! I guess I’ll put up with the extra Lambda size for a little then :)

ghadi19:05:34

there are SHAs in our github that do it presently, but you're on your own

lvh19:05:22

SHAs as in specific commits?

dchelimsky14:05:42

We're working on it in the execution-flow branch, so, for now, consider HEAD of that branch to be a moving pre-alpha target 😉

lvh23:05:49

Awesome, thanks! Well give it a shot :)