DEV Community

Discussion on: How to hide API KEY in GitHub repo

Collapse
 
sphrases profile image
sphrases

Came here to recommend it. Environment variables are the common way of handling secure strings

Collapse
 
ptprashanttripathi profile image
Pt. Prashant tripathi

Yupp, but this is simple

Thread Thread
 
aboutdavid profile image
David

In my opinion, Security > Simplicity because well, your (users) security matter.

Thread Thread
 
ptprashanttripathi profile image
Pt. Prashant tripathi

hmm