[AWS] Presign url for S3

If you want to share some file in S3 with some one for a period of time you can create presign url.

aws s3 presign s3://<bucket_name>/<filen_ame> --expires-in <seconds>

 

Example:

aws s3 presign s3://cjrivas-demo-bucket/images.jpg --expires-in 30

 

So this image will expires in 30 seconds.

posted @ 2021-03-05 20:09  Zhentiw  阅读(186)  评论(0编辑  收藏  举报