This is example is using Devise and OmniAuth Facebook Rails gems. But the concept should transfer for use with any Authentication system.
CREATE A FILE CALL api_keys.yml
and place it in your config
folder. Configure it
how ever you desire.
defaults: &defaults