Home > Net >  AWS Presigned URL valid for more than 7 days
AWS Presigned URL valid for more than 7 days

Time:08-26

Just wanted to know is there a way to use AWS S3 Presigned URL for more than 7 Days using V4 of Presigned URL.

CodePudding user response:

No unfortunately.

The current maximum expiration time for a presigned URL - which is a hard limit & cannot be increased - is 7 days from the time of creation.

CodePudding user response:

Upto 7 days - Yes

More than 7 days - NO

It is important to know the max expiration time differs with different ways which creates pre-signed URL

  • Using s3 console - max 12 hours
  • AWS explorer for Visual Studio - max 7 days
  • AWS SDK - max 7 days
  • AWS CLI - max 7 days

Docs for reference

It becomes essential to understand that presigned URLs are used for limited time access, not long durations. In a broader scope, you are giving access to your bucket to some external identity why would you give access to some external identity that too for so long?

  • Related