s3-siggenerator icon indicating copy to clipboard operation
s3-siggenerator copied to clipboard

URL format changed

Open DongZhang opened this issue 9 years ago • 2 comments

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

DongZhang avatar Jun 04 '15 01:06 DongZhang

The utility is still working for me using the existing URL format. Maybe they support both formats.

mrisinger avatar Nov 06 '15 22:11 mrisinger

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.

olivererdmann avatar Jun 26 '16 11:06 olivererdmann