首页 > Web开发 > 详细

[AWS] Presign url for S3

时间:2021-03-05 22:16:41      阅读:25      评论:0      收藏:0      [点我收藏+]

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.

[AWS] Presign url for S3

原文:https://www.cnblogs.com/Answer1215/p/14488221.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!