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

#31310 [Feature]: Stable public ID for rotating virtual keys

  • State: open
  • Author: @adam-carruthers
  • 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

I wish LiteLLM had a stable public identifier that doesn't change when you rotate the key

For example, LangFuse gives you a public key and a private key when you create a key.

### Motivation, pitch

Currently it's very difficult to write a LiteLLM Terraform provider implementing key rotation, because the rotation breaks the ID Terraform would use to search for the key. With a stable public ID, it can continue to use the public ID to reference a key that has gone through a rotation.

### 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 (2 events)
#0 of 0 · 31d18h46m24s ago — entered · #import:https:::github.com:berriai:litellm post #2301
The left item requires coordinated identity, persistence, API, rotation, and migration behavior across the proxy, with compatibility and lifecycle risks. The right item is a localized request-transformation fix with focused provider coverage and regression tests.
#0 of 0 · 31d17h44m32s ago — current · #import:https:::github.com:berriai:litellm post #3340
OpenCode Go spans provider registration, model discovery, external metadata synchronization, pricing, endpoint-shape detection, request translation, and usage attribution across proxy paths. Stable key IDs are a more contained schema/API and rotation-flow change, though they require migration and backward compatibility.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search