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.

https://github.com/mludvig/s3cmd/pull/3

See the bottom of:

http://s3.amazonaws.com/doc/s3-developer-guide/RESTAuthentication.html

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