JayP
2012-12-14 14:08:39 UTC
Hi,
I am using fog in a rails application and I was wondering if there is a way
to set the aws credentials globally instead of using the .fog file. For
example I am using a lot of fog calls in my rails models and would like it
if I can set the aws credentials somewhere in the controller. Is this
possible or I would need to pass it in every time I do something like
"Fog::Compute::AWS.new".
Thanks,
Jay
I am using fog in a rails application and I was wondering if there is a way
to set the aws credentials globally instead of using the .fog file. For
example I am using a lot of fog calls in my rails models and would like it
if I can set the aws credentials somewhere in the controller. Is this
possible or I would need to pass it in every time I do something like
"Fog::Compute::AWS.new".
Thanks,
Jay