3

I am just exploring pre-signed URLs in s3 and wanted to know is it possible to generate pre-signed URL from console instead of using SDK?

Also, is there a way to set a time-limit for the expiration of pre-signed URL from console, based on few other post on stack the default time limit is 7 days, how to override this value?

Jatin Mehrotra
  • 9,286
  • 4
  • 28
  • 67

1 Answers1

4

As far as this date, no. There is no option in the web console to generate a sign URL.

And for your second question; yes, you can override the default URL expiration using the SDK.

AWS CLI example:

aws s3 presign s3://<bucket-name>/<file-name> --expires-in <seconds>

AWS CLI documentation

Ivan Carcamo
  • 504
  • 4
  • 8
  • understood the first part of your answer,for the default pre-signed URL generated which we can access in console is there a way to override `its URL expiration` from console not `sdk`? – Jatin Mehrotra Nov 21 '20 at 04:45
  • 1
    nope, any `presign` operation (including overriding URL expiration) is simply not available through console. (Hopefully Amazon will change this in the future). – Ivan Carcamo Nov 21 '20 at 04:56