Re: [SimpleRecord] Environment Setup

27 views
Skip to first unread message
Message has been deleted

Gabriel Williams

unread,
Nov 16, 2011, 1:47:51 AM11/16/11
to simple...@googlegroups.com
Well, one place you definitely shouldn't put them is in a message to a google group...assuming that's your real secret access key.  If it is you should probably generate a new one...

Gabriel

On Mon, Nov 14, 2011 at 9:43 AM, Zachary Schroeder <riva...@gmail.com> wrote:
Greetings all,

Looking to try out SimpleRecord, and AWS in general, and I'm wondering where I should put the following:

AWS_ACCESS_KEY_ID='AKIAJMLBNDKNE4CBNTKA'
AWS_SECRET_ACCESS_KEY='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'
SimpleRecord.establish_connection(AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY)

That is, the connection details.

Cheers!

--
You received this message because you are subscribed to the Google Groups "SimpleRecord" group.
To view this discussion on the web visit https://groups.google.com/d/msg/simple-record/-/3GJ0ndLV5FsJ.
To post to this group, send email to simple...@googlegroups.com.
To unsubscribe from this group, send email to simple-recor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simple-record?hl=en.



--
"I woke the same, as any other day, except a voice was in my head."

Travis Reeder

unread,
Nov 26, 2011, 5:45:54 PM11/26/11
to simple...@googlegroups.com
Zach,

You can put that anywhere as long as it loads before you start accessing your database. If it's a Rails project, put it in your environment config files (development.rb, production.rb). 

Travis

Zachary Schroeder

unread,
Nov 30, 2011, 2:23:16 PM11/30/11
to simple...@googlegroups.com
Thanks for the help guys, and wow, I'm an idiot :D

Travis Reeder

unread,
Dec 1, 2011, 9:49:42 PM12/1/11
to simple...@googlegroups.com
haha. It happens. Better change those keys though!

On Wed, Nov 30, 2011 at 11:23 AM, Zachary Schroeder <riva...@gmail.com> wrote:
Thanks for the help guys, and wow, I'm an idiot :D

--
You received this message because you are subscribed to the Google Groups "SimpleRecord" group.
To view this discussion on the web visit https://groups.google.com/d/msg/simple-record/-/cjpfBOuLBQoJ.
Reply all
Reply to author
Forward
0 new messages