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).
@lvh our next version of aws-api should have some support for presigning
there are SHAs in our github that do it presently, but you're on your own
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 😉
Awesome, thanks! Well give it a shot :)
SHAs as in specific commits?
Hooray! I guess I’ll put up with the extra Lambda size for a little then :)
Yes