You need to upload a file to S3 and cannot install new packages in the server, nor the s3 client tools. You only have bash, openssl and sed. Go.
I found and adapted a script by Viktor Szakats, that creates all the proper headers expected by the latest AWS API. I »