Skip to content

Instantly share code, notes, and snippets.

@lithuak
Last active August 29, 2015 14:04
Show Gist options
  • Save lithuak/49ec96b2f4ff16c6cf32 to your computer and use it in GitHub Desktop.
Save lithuak/49ec96b2f4ff16c6cf32 to your computer and use it in GitHub Desktop.
AWS authentication for s3cmd, fun and profit
In theory, it must be:
export AWS_ACCESS_KEY_ID=key
export AWS_SECRET_ACCESS_KEY=key
BUT IN PRACTIVE only .cfg file works:
[default]
access_key = key
secret_key = key
and:
s3cmd --config <config_file> ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment