Trip
Trip

Reputation: 27114

How can I store confidential S3 information for my dev env that is shared with production?

My dev bucket uses the same credentials as my production bucket.

Since I am using Heroku, I have moved all these credentials into my Heroku Config. Which would work except for my development env since its on my local.

How can I store this information securely so that this data is not being seen on a public repo but is still accessible and instantiated to my local machine?

Upvotes: 0

Views: 107

Answers (1)

Philip Hallstrom
Philip Hallstrom

Reputation: 19889

Rails 4.1 can do this internally, but until then you might find these helpful:

For info on 4.1, see the 'secrets.yml' section.

http://edgeguides.rubyonrails.org/4_1_release_notes.html

update: Appears I was mistaken about Rails 4.1. While it has a secrets.yml file it's not encrypted. Wonder where I read that it was...

Upvotes: 1

Related Questions