7 views
-/https://github.com/berriai/litellm/issues/28994
GitHub · issue

#28994 [Feature]: Reading secrets from files

  • State: open
  • Author: @segevfiner
  • Labels: enhancement, proxy

### Check for existing issues

- [x] I have searched the existing issues and checked that my issue is not a duplicate.

### The Feature

Add the ability for LiteLLM to read secrets from a file, in a similar way to `os.environ/` so as to integrate with Docker's secrets, or other systems that manifest secrets as files

### Motivation, pitch

Some system's manifest secrets as files instead of env variables (e.g. Docker Compose's `secrets` key (Or legacy Swarm)), this is done to avoid exposing such secrets via introspection APIs like `docker inspect`. It would be nice to have a feature to have LiteLLM read a secret from a file for these.

### What part of LiteLLM is this about?

Proxy

### LiteLLM is hiring a founding backend engineer, are you interested in joining us and shipping to all our users?

No

### Twitter / LinkedIn details

_No response_

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (1 events)
#0 of 0 · 31d18h46m26s ago — entered · #import:https:::github.com:berriai:litellm post #2110
Model omitted braces; inferred difficulty from issue scope and surface area.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search