All The Secrets Of Encrypting API Keys In Ruby Revealedby@jamezjaz
659 reads
659 reads

All The Secrets Of Encrypting API Keys In Ruby Revealed

by James Chigozie Odufu4mSeptember 27th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

This article is for those who have worked with API keys in Ruby or those who tend to do so. The dangers of leaving API keys hardcoded on our applications and/or projects built with Ruby are discussed below. API keys are like the keys to your house or your car, therefore, it's important to protect them to make sure they can only be used by the people and in the way you want. To help keep your API keys secure, follow these best practices: Do not embed API keys directly in code. Store them in environment variables or in files outside of your application's source tree.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - All The Secrets Of Encrypting API Keys In Ruby Revealed
James Chigozie Odufu HackerNoon profile picture
James Chigozie Odufu

James Chigozie Odufu

@jamezjaz

Full-Stack Developer | JavaScript |React | Firebase | Ruby on Rails

About @jamezjaz
LEARN MORE ABOUT @JAMEZJAZ'S
EXPERTISE AND PLACE ON THE INTERNET.

Share Your Thoughts

About Author

James Chigozie Odufu HackerNoon profile picture
James Chigozie Odufu@jamezjaz
Full-Stack Developer | JavaScript |React | Firebase | Ruby on Rails

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
L O A D I N G
. . . comments & more!