Ruby on Rails, Paperclip, Heroku, GitHub and AWS - securing keys

后端 未结 3 1193
抹茶落季
抹茶落季 2021-01-31 22:27

I\'m using RoR hosted by Heroku and I\'d like to store files on s3 using paperclip. My source code is hosted on github and is world readable. What is the best practice to keep t

3条回答
  •  北恋
    北恋 (楼主)
    2021-01-31 22:51

    Not long ago Amazon released official AWS SDK for Ruby. It works pretty well with S3, supports American, European and Japanese S3 instances from the box and well maintained.

    I have created a storage module for Paperclip called paperclip-aws to works with AWS SDK.

    Feel free to use it. I hope that it will help.

提交回复
热议问题