AWS S3 pre signed URL without Expiry date

后端 未结 4 1438
时光说笑
时光说笑 2020-12-01 06:02

Is there any way that I can generate Pre-Signed URL\'s without any expiry date ? I\'m developing a Email app where my attachments will be saved in S3. Also please let me kno

4条回答
  •  暖寄归人
    2020-12-01 06:37

    A somewhat solution for you might be to make the AWS CloudFront distribution that serves your S3 bucket with limited access to only Distribution Origin Access Identity and then using CloudFront Signed urls. Which expiry time can be even in years. So for unlimited or semi-unlimited urls I would recommend such solution.

提交回复
热议问题