ollama - 💡(How to fix) Fix Ability to use passwords / API keys when exposing your local Ollama server to LAN

Official PRs (…)
ON THIS PAGE

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

FEATURE REQUEST: Ability to set up API keys for servers running on LAN

Summary:

This feature would add the ability to set up a custom key or password, so that way there is no way for unknown people on LAN / WiFi to spam the Ollama server.

Proposal:

Add a switch in the Ollama app settings or a switch like OLLAMA_USE_AUTH_KEY=1 for the terminal.

Behavior

  • By default, if Ollama uses localhost, keep it disabled.
  • By default, if Ollama uses LAN hosting, keep it enabled.
  • Users can generate a secure key or just use a password
  • If uses decide to generate a key instead of use a password, the can decide whether whoever uses the key can do things like download, delete, or use Ollama models

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING