Environment public

Hello, everyone!

I am working with angularfire with the openai api on my project. Are there any good practices on hiding the apikey?

The thing is that environment.ts can be accessed from the dev tools in chrome, and the key can be accessed.

At 6:50 mark, Simon has great advice on where to store those secret keys.

2 Likes