Dougoc / django-command-extensions

Automatically exported from code.google.com/p/django-command-extensions
MIT License
0 stars 0 forks source link

S3 -- access keys / secrets #106

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

I've been using a script to update Amazon S3 buckets.
I started, as you did with sync_media_s3, to store the keys/secrets in the
clear.

I've since moved my script to store encrypted
(python script, Crypto.cipher AES

- I can store the encrypted AWS secret
- when I run the command line, getpass() gets the passphrase
- the decrypted secret key is used to access AWS

I hate sticking in my secret keys into a settings.py ... on webfaction :-)

I can clean up and submit the code, if you want.

Original issue reported on code.google.com by jud...@gmail.com on 22 Jun 2009 at 6:48