Tiny tool to generate presigned AWS S3 URLs.
You need to upload data from a machine that is not authorized to access an S3 bucket (and should not do so otherwise). So on a machine with authorization create a url using the presigned url:
signed-s3-url-generator -b mybucket -k 'key/to/save/this/file/under/example.txt'
On the machine without S3 authorization run (works for files < 5 GB):
curl '<url generated earlier>' --upload-file example.txt --progress-bar | cat