Skip to content

Commit e354f7e

Browse files
committed
Uncomments the STS token option
Signed-off-by: Akash Manohar J <[email protected]>
1 parent cfdc916 commit e354f7e

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
@@ -8,8 +8,8 @@ class Attachment < ActiveRecord::Base
88
:storage => :s3,
99
:s3_credentials => {
1010
:access_key_id => ENV['S3_ACCESS_KEY_ID'],
11-
:secret_access_key => ENV['S3_SECRET_ACCESS_KEY']#,
12-
#:session_token => ENV['STS_SESSION_TOKEN']
11+
:secret_access_key => ENV['S3_SECRET_ACCESS_KEY'],
12+
:session_token => ENV['STS_SESSION_TOKEN']
1313
},
1414
:bucket => ENV['S3_BUCKET'],
1515
:url => "/:attachment/:id/:style/:basename.:extension",

0 commit comments

Comments
 (0)