title: How to setup AWS credentials in rails for development?
body: <p>I'm trying to figure out what is the best way to set up my credentials in development? I'm able to set up credentials in production because of heroku's configuration variables... but need help doing so if you're just testing app locally.</p>
  
  <p>I have this in my <code>development.rb</code></p>
  
  <pre><code>config.paperclip_defaults = {
    :storage =&gt; :s3,
    :s3_credentials =&gt; {
      :bucket =&gt; ENV['BUCKET_NAME'],
      :access_key_id =&gt; ENV['ACCESS_KEY_ID'],
      :secret_access_key =&gt; ENV['SECRET_ACCESS_KEY']
    }
  }  
  </code></pre>
  
  <p>But, I'm not sure how to reference these ENV variables?</p>
  
  <p>I created this <code>aws.yml</code> file in my <strong>/config</strong> folder</p>
  
  <pre><code>development:
    BUCKET_NAME: "somename"
    ACCESS_KEY_ID: "4205823951412980"
    SECRET_ACCESS_KEY: "123141ABNCEFEHUDSL2309489850"
  </code></pre>
  
  <p>I thought if I matched the ENV name, it'll work? I guess thats not the case...</p>
  
  <p>I made sure to include <code>aws.yml</code> to my <code>.ignore</code> file</p>
  
  <pre><code>/config/aws.yml
  </code></pre>