Hi folks

I've found s3cmd very useful, but I was frustrated by the difficulty of generating signed URLs with expiries. It's easy enough to do, but it isn't something everyone should be re-implementing.

So: Here's a patch to add a "signurl" command to s3cmd, which when given a s3cmd-style s3://bucket/object URL and an expiry time in seconds since epoch, produces a signed URL that allows public access to normally private objects until it expires.


See the bottom of:


for more info on signed URLs.
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services