Is there a way to generate a presigned url for an S3 object using AWS CLI?

dan picture dan · Mar 5, 2015 · Viewed 12.4k times · Source

I've looked at the documentation for aws s3 and aws s3api but I can't see anything relevant to generating a presigned url. The AWS web docs only show examples for doing this with Java, .Net, and VisualStudio.

http://docs.aws.amazon.com/AmazonS3/latest/dev/ShareObjectPreSignedURLJavaSDK.html

Answer

Jeroen picture Jeroen · Aug 24, 2016

This is available native in the aws cli now: http://docs.aws.amazon.com/cli/latest/reference/s3/presign.html