I can hide my api keys with .env file? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I can hide my api keys with .env file?

I can hide my api keys with .env file in website project?

3rd Nov 2021, 5:10 AM
AquazDev
AquazDev - avatar
2 Answers
+ 11
Yes, you can, if you use them only on your server.
4th Nov 2021, 5:19 AM
Igor Makarsky
Igor Makarsky - avatar
0
I want to havemy api keys in the backend of the website but idk how i can request the function from backend to frontend
4th Nov 2021, 5:21 AM
AquazDev
AquazDev - avatar