diff --git a/ui/litellm-dashboard/src/components/create_key_button.tsx b/ui/litellm-dashboard/src/components/create_key_button.tsx index 7e93f0a0a..b27443714 100644 --- a/ui/litellm-dashboard/src/components/create_key_button.tsx +++ b/ui/litellm-dashboard/src/components/create_key_button.tsx @@ -70,20 +70,23 @@ const CreateKey: React.FC = ({ onOk={handleOk} onCancel={handleCancel} > -
+ {userRole === 'App Owner' || userRole === 'Admin' ? ( <> + +

Optional

+

Optional

= ({ ))} +

Optional, defaults to all models

@@ -108,18 +112,35 @@ const CreateKey: React.FC = ({ name="max_budget" > +

Optional, defaults Unlimited Budget

+ + + +

Optional, defaults to Unlimited TPM

+
+ + +

Optional, defaults to Unlimited RPM

+

Optional, defaults to never expiring key

+

Optional, defaults to null

) : (