Skip to content

Commit 99ca945

Browse files
committedMar 16, 2012
uncomments STS token option
Signed-off-by: Akash Manohar J <akash@akash.im>
1 parent bd32246 commit 99ca945

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎app/models/attachment.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ class Attachment < ActiveRecord::Base
99
:storage => :s3,
1010
:s3_credentials => {
1111
:access_key_id => ENV['S3_ACCESS_KEY_ID'],
12-
:secret_access_key => ENV['S3_SECRET_ACCESS_KEY']#,
13-
# :session_token => ENV['STS_SESSION_TOKEN']
12+
:secret_access_key => ENV['S3_SECRET_ACCESS_KEY'],
13+
:session_token => ENV['STS_SESSION_TOKEN']
1414
},
1515
:bucket => ENV['S3_BUCKET'],
1616
:url => "/:attachment/:id/:style/:basename.:extension",

0 commit comments

Comments
 (0)
Please sign in to comment.