Skip to content

[Feature] UI - Add Key Type Select in Key Settings - #16034

Merged
ishaan-jaff merged 2 commits into
mainfrom
litellm_key_settings_key_type
Oct 30, 2025
Merged

[Feature] UI - Add Key Type Select in Key Settings#16034
ishaan-jaff merged 2 commits into
mainfrom
litellm_key_settings_key_type

Conversation

@yuneng-jiang

@yuneng-jiang yuneng-jiang commented Oct 29, 2025

Copy link
Copy Markdown
Contributor

UI - Add Key Type Select in Key Settings

Relevant issues

This PR adds the option to change the key_type in the key settings. In the backend, the key_type is only used to set the "allowed_routes" in the database. The frontend changes map the key_type to the appropriate allowed_routes when doing the update call. See screenshots for more information.

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - see details
  • I have added a screenshot of my new test passing locally
  • My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible, it only solves 1 specific problem

Type

🆕 New Feature
✅ Test

Changes

Screenshots

Screenshot 2025-10-29 at 1 30 59 PM Screenshot 2025-10-29 at 11 35 43 AM Screenshot 2025-10-29 at 1 29 36 PM Screenshot 2025-10-29 at 1 29 53 PM

@CLAassistant

CLAassistant commented Oct 29, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@vercel

vercel Bot commented Oct 29, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
litellm Ready Ready Preview Comment Oct 29, 2025 8:36pm

@ishaan-jaff ishaan-jaff left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@yuneng-jiang
yuneng-jiang marked this pull request as draft October 29, 2025 20:35
@yuneng-jiang
yuneng-jiang marked this pull request as ready for review October 29, 2025 20:39
@ishaan-jaff
ishaan-jaff merged commit 1b23410 into main Oct 30, 2025
30 of 53 checks passed
@ishaan-berri
ishaan-berri deleted the litellm_key_settings_key_type branch March 26, 2026 21:54
fzowl pushed a commit to fzowl/litellm that referenced this pull request Jun 24, 2026
* Add Key Type Select in Key Settings

* Frontend changes to fully support editing key type in key settings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants