SaltyCrane Blog — Notes on JavaScript and web development

s3curl notes

  • Download s3curl from here.
  • Unzip, make executable
    unzip s3-curl.zip
    cd s3-curl
    chmod a+x s3curl.pl
  • Create ~/.s3curl config file
    %awsSecretAccessKeys = (
        # personal account
        personal => {
            id => '1ME55KNV6SBTR7EXG0R2',
            key => 'zyMrlZUKeG9UcYpwzlPko/+Ciu0K2co0duRM3fhi',
        },
    
       # corporate account
       work => {
            id => '1ATXQ3HHA59CYF1CVS02',
            key => 'WQY4SrSS95pJUT95V6zWea01gBKBCL6PI0cdxeH8',
        },
    );
  • List contents of a bucket
    ./s3curl.pl --id=work -- http://s3.amazonaws.com/mybucket

See also: http://open.eucalyptus.com/wiki/s3curl

Comments