Permalink
Browse files

aws keys removed

  • Loading branch information...
1 parent 22ae631 commit 761331de52207227baf6f8d161ab6df1747f8ef3 @alexjv89 alexjv89 committed Jul 2, 2015
Showing with 3 additions and 2 deletions.
  1. +3 −2 woot/apps/catalog/iron_workers/resize_image.py
@@ -2,6 +2,7 @@
# Get the payload into payload variable
import json
import sys
+from os import environ
payload_file = None
payload = None
for i in range(len(sys.argv)):
@@ -13,8 +14,8 @@
# Open S3 connection
from boto.s3.connection import S3Connection
-AWS_ACCESS_KEY_ID = "AKIAJIYSSDR3ONQIJYBA"
-AWS_SECRET_ACCESS_KEY = "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"
+AWS_ACCESS_KEY_ID = environ['AWS_ACCESS_KEY_ID']
+AWS_SECRET_ACCESS_KEY = environ.get('AWS_SECRET_ACCESS_KEY', '')
conn = S3Connection(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
bucket = conn.get_bucket('makeymedia')

0 comments on commit 761331d

Please sign in to comment.