The
Generate URL extension is great. Are you able to either extend it or add a second extension for AWS S3 Pre-Signed URL please. The standard URL assumes you allow public access to a bucket, which is a massive security breach. Having the ability to quickly create a Pre-Signed URL allows for the Bucket to be locked down, yet still allow creation of sharable links.
I do not know PowerShell, but see the extensions all make use of it, and having looked online the code to do this would be:
$bucket = "my-bucket"
$key = "my-object"
$expires = (Get-Date).AddHours(1)
$url = Get-S3PreSignedURL -BucketName $bucket -Key $key -Expires $expires
Write-Host "Pre-Signed AWS S3 URL: $url"
To be able to enter a customer number for
AddHours
would be great to allow you customise how long it is available for.
Thanks in advance for your great product. :)