Securing a POD with an API key

Any good resources or tutorials for walking a some-what beginner through the process of securing HTTPS API endpoints (port:11434) with an API key? I have a Pod running Ollama and serving API requests on port 11434, it is currently open and anyone with access to the url can use it. I haven't seen any malicious use, but would like to secure it by requiring an API key to access the endpoint. Thanks,
3 Replies
nerdylive
nerdylive2mo ago
Set up a proxy inside your pod
justblake3911
justblake3911OP2mo ago
Thank You! I will look into this solution. You dont happen to have any guides or links to share for Setting up a Proxy do you?
nerdylive
nerdylive2mo ago
No, it's custom made I never made it before

Did you find this page helpful?