Endpoints and Data

Hi there! You’re correct, you should not put your secrets/keys in your notebook. All notebooks are public! We allow you to set environment variables here which you can access in your code with process.env in your code. I should also add that we suggest you not log your environment variables, for obvious reasons.

Also, I should point out there is currently a bug, newly created environment variables are only picked up by new notebooks. So you’ll want to move your existing code to a new notebook. Sorry about that!

1 Like