Skip to content

Can we generate permanent presigned URL. #3326

Answered by aBurmeseDev
mahesh-solanke asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @mahesh-solanke, thanks for reaching out.

  1. We can create pre-signed URL using generate_presigned_url method with ExpiresIn 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.

  2. 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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by aBurmeseDev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants