Skip to content

Instantly share code, notes, and snippets.

@edwardinubuntu
Created October 11, 2019 02:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edwardinubuntu/c275b3f176996a9f79407da93f878ec9 to your computer and use it in GitHub Desktop.
Save edwardinubuntu/c275b3f176996a9f79407da93f878ec9 to your computer and use it in GitHub Desktop.
aws s3 presign
$ aws s3 presign s3://your-buckets/path/file-v1.pdf --expires-in 604800
https://your-buckets.s3.amazonaws.com/path/file-v1.pdf?AWSAccessKeyId=AKIARUA7FGPTQ63QVG5Q&Signature=NvzndozlDrJbgf6cMDimM8uZxBA%3D&Expires=1571362899
$ aws s3 presign s3://your-buckets/path/file-v1.epub --expires-in 604800
https://your-buckets.s3.amazonaws.com/path/file-v1.epub?AWSAccessKeyId=AKIARUA7FGPTQ63QVG5Q&Signature=UmImdDRiLLURJMZ0QgSdaBBcrGs%3D&Expires=1571363011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment