s3-siggenerator
s3-siggenerator copied to clipboard
URL format changed
Don't know when they changed the format of a signed URL, but the new URL to a specific file should look like: http://[bucket name].s3.amazonaws.com/[folder/file]?AWSAccessKeyId= [Key ID]&Expires=[Expires]&Signature=[Signature]
See: http://www.bucketexplorer.com/documentation/amazon-s3--how-to-generate-url-for-amazon-s3-files.html
The utility is still working for me using the existing URL format. Maybe they support both formats.
Also, the base-URL is different for other regions like EU, see this discussion.
I got valid URLs by simply changing the value of base
in generateSignedUrl()
to, for example, "https://s3-eu-west-1.amazonaws.com" (Ireland).
I think it would be a valid option to allow pasting the full link, copied from S3, without hard-coding the base.