Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #3 from edx/jarv/s3-auth
Browse files Browse the repository at this point in the history
using ID and KEY from settings in gen_cert
  • Loading branch information
jarv committed May 2, 2014
2 parents 9689431 + ef847c9 commit a6ce946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gen_cert.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def create_and_upload(self, name, upload=settings.S3_UPLOAD, cleanup=True,
start=self.dir_prefix
)
if upload:
s3_conn = boto.connect_s3()
s3_conn = boto.connect_s3(settings.CERT_AWS_ID, settings.CERT_AWS_KEY)
bucket = s3_conn.get_bucket(BUCKET)
key = Key(bucket, name=dest_path)
log.info('uploading to {0} from {1} to {2}'.format(
Expand Down

0 comments on commit a6ce946

Please sign in to comment.