Any ideas on how to do this with a *shared* notebook? The shared users won't have access to my drive, so this wouldn't work as is. I've scoured the internet, and no one seems to have a solution for how to truly hide keys (or anything) in a shared Google Colab. Kind of a surprising gap, not being able to code modern (everything has an API), secure apps to share! (and my users aren't sophisticated enough to get their own API...I don't mind them using my app with my key, I just don't want anyone to be able to use the key for something else.
Look up running a web service like FastAPI or API Gateway - it requires a cloud service but it will let you call the API indirectly and achieve what you’re trying to do
Love the content! Keep it up and ull reach a mil in subs, no doubt
Any ideas on how to do this with a *shared* notebook? The shared users won't have access to my drive, so this wouldn't work as is. I've scoured the internet, and no one seems to have a solution for how to truly hide keys (or anything) in a shared Google Colab. Kind of a surprising gap, not being able to code modern (everything has an API), secure apps to share! (and my users aren't sophisticated enough to get their own API...I don't mind them using my app with my key, I just don't want anyone to be able to use the key for something else.
Look up running a web service like FastAPI or API Gateway - it requires a cloud service but it will let you call the API indirectly and achieve what you’re trying to do
@@tech-at-work Thanks--I will take a look!
It was helpful in understanding API key security. thank you
Glad it was helpful!