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

后端 未结 3 1232
抹茶落季
抹茶落季 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:59

    err.. there is no other way if you are using heroku. You've got to put everything in a repo and push it to them.

    Reg github, if you are going to use public repos - "private" them if you need those keys to make your app work. You got to trust your team members even if you give access to that private github repo to a selected few people.

    I am not aware of any other ideas.

提交回复
热议问题