Can we generate permanent presigned URL. #3326
-
Hello everyone, so question is:
Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @mahesh-solanke, thanks for reaching out.
|
Beta Was this translation helpful? Give feedback.
Hi @mahesh-solanke, thanks for reaching out.
We can create pre-signed URL using
generate_presigned_url
method withExpiresIn
argument to set URL expiration. Please refer to the boto3 doc for that method here and here're code examples that might also be helpful.By default, the pre-signed URL is valid for an hour and it can be set to 7 days of maximum expiration as mentioned in this GitHub Issue comment.