Skip to content

Commit

Permalink
fix: allow only 5 minutes for presigned url results for S3
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Lesage committed Oct 12, 2024
1 parent f943bad commit 32b7cf6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public async Task<string> GetPreSignedUrlAsync(string bucketName, string key, Ca
{
BucketName = bucketName,
Key = key,
Expires = DateTime.Now.AddHours(1),
Expires = DateTime.Now.AddMinutes(5),
Verb = HttpVerb.GET,
});

Expand Down

0 comments on commit 32b7cf6

Please sign in to comment.