-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
When trying to rotate the master key as described in the docs (https://docs.litellm.ai/docs/proxy/master_key_rotations) I get an error stating that rotating virtual keys is an enterprise feature.
I am assuming this is a bug in the license checking code since the error message only mentions virtual keys and the docs do not mention that rotating the master key is an enterprise feature (in contrast to virtual key rotations which has a clear header - see https://docs.litellm.ai/docs/proxy/virtual_keys#-key-rotations).
If this is intended behavior, please update the docs and error message to prevent confusion.
Relevant log output
❯ curl -L -X POST 'http://localhost:4000/key/regenerate' \
-H 'Authorization: Bearer sk-1234' \
-H 'Content-Type: application/json' \
-d '{
"key": "sk-1234",
"new_master_key": "sk-PIp1h0RekR"
}'
{"error":{"message":"Internal Server Error, Regenerating Virtual Keys is an Enterprise feature, You must be a LiteLLM Enterprise user to use this feature. If you have a license please set `LITELLM_LICENSE` in your env. Get a 7 day trial key here: https://www.litellm.ai/#trial. \nPricing: https://www.litellm.ai/#pricing","type":"internal_server_error","param":"None","code":"500"}}%
Are you a ML Ops Team?
No
What LiteLLM version are you on ?
85525c5 (latest commit at time of writing)
Twitter / LinkedIn details
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working