Can we generate permanent presigned URL. #3326
|
Hello everyone, so question is:
Thanks in advance. |
Replies: 1 comment
|
Hi @mahesh-solanke, thanks for reaching out.
|
|
Hello everyone, so question is:
Thanks in advance. |
|
Hi @mahesh-solanke, thanks for reaching out.
|
Hi @mahesh-solanke, thanks for reaching out.
We can create pre-signed URL using
generate_presigned_urlmethod withExpiresInargument 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.