DEV Community

Discussion on: Hiding API Keys in Your Code

Collapse
 
galabov93 profile image
Yordan Galabov

The easiest and cheapest way is with serverless functions like netlify.com/products/functions/. They play the role of back end and there you can use.env to hide the key.

Thread Thread
 
ivana_croxcatto profile image
Ivana Croxcatto

Thank you so much!! :)