diff --git a/ui/litellm-dashboard/src/components/create_key_button.tsx b/ui/litellm-dashboard/src/components/create_key_button.tsx index ce24c72b7d..a76b3b1e39 100644 --- a/ui/litellm-dashboard/src/components/create_key_button.tsx +++ b/ui/litellm-dashboard/src/components/create_key_button.tsx @@ -123,12 +123,25 @@ const CreateKey: React.FC = ({ visible={isModalVisible} onOk={handleOk} onCancel={handleCancel} + footer={null} > - {/* Display the result here */} -

- API Key: {apiKey}
- {/* Display other API response details here */} -

+ + +

+ Please save this secret key somewhere safe and accessible. For + security reasons, you will not be able to view it again{" "} + through your LiteLLM account. If you lose this secret key, you will + need to generate a new one. +

+ + + {apiKey != null ? ( + API Key: {apiKey} + ) : ( + Key being created, this might take 30s + )} + +
)}