<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: jay</title>
    <description>The latest articles on DEV Community by jay (@jay3000).</description>
    <link>https://dev.to/jay3000</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F319592%2F31c10954-6eea-46b7-b284-2163ccb24e49.png</url>
      <title>DEV Community: jay</title>
      <link>https://dev.to/jay3000</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jay3000"/>
    <language>en</language>
    <item>
      <title>hey codenewbie, don't expose api keys</title>
      <dc:creator>jay</dc:creator>
      <pubDate>Sat, 23 May 2020 00:30:25 +0000</pubDate>
      <link>https://dev.to/jay3000/hey-codenewbie-don-t-expose-api-keys-4i0i</link>
      <guid>https://dev.to/jay3000/hey-codenewbie-don-t-expose-api-keys-4i0i</guid>
      <description>&lt;p&gt;When I first experimented with and implemented SendGrid email I left my api key hard coded in my app and pushed it to github. I tested an email, it worked, and I forgot about it. I received an email sometime later about an api key but I ignored it and moved on with whatever I was doing, probably pottery or eating multiple snacks. Sometime later I was working on an app and decided to implement SendGrid email into it, remembering how simple and effective it was. At that time I experienced lengthy pain and confusion in struggling with what I was missing or confused about, as well as figuring out how to become mosquito-proof. I kept seeing a status code 202, "The request has been accepted for processing, but the processing has not been completed".  I went deep exploring dusty google hits on how to implement SendGrid. I procured strange headers from bootleg and unknown developers all over the web to try sending along with my request. Eventually I recalled some email about an api key and dug it up to take a look. #codenewbie. My SendGrid was disabled until I resolved the exposed api key. &lt;/p&gt;

&lt;p&gt;Shoutout to Poul from SendGrid! For reactivating me after resetting everything and implementing .env and .gitignore, then disabling me again after I failed to first remove my already pushed .env that hadn't been ignored yet before pushing with a new key. Then reactivating me again later!&lt;/p&gt;

</description>
      <category>codenewbie</category>
      <category>octograd2020</category>
    </item>
  </channel>
</rss>
