s3cmd without config file?

2011-02-02
2013-02-19
  • Is there any way to run s3cmd without a config file? I don't want to run the interactive s3cmd -configure to get my AWS access key/secret key in there, but s3cmd doesn't seem to respect the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY_ID environment variables?

    Thanks!

     
  • I'd be interested in this too.  I don't like having unencrypted secret keys written to files on disk.  I think one very nice solution to this problem would be to have a -read-config-from-stdin option and possibly another option to specify an fd to read the config from (akin to gpg's -passphrase-fd option).  I have a well-locked-down process that leverages the SSH agent to securely retrieve secret keys, but ultimately, I'm forced to take the S3 key retrieved and write it to a tmp file, then delete it afterward, which isn't very secure).