Skip to content

[Q&A] Will the API Key be leaked? | 我的 API Key 会泄漏吗? #561

Discussion options

You must be logged in to vote

It won't be leaked. Let me explain:

LobeChat supports two modes of use: A. Self-deployment (Vercel / Docker / ...); B. Using a version deployed by someone else, and entering your own API Key;

Self-deployment

For the self-deployment mode, all API Keys are directly entered on the server side, and the client cannot access them, so there is no possibility of any leakage;

Using someone else's deployed version

For example, the chat-preview.lobehub.com is this version (I will call it chat-preview below for short ). If users want to use it, they must enter their own API Key, because of this version don't have any API Key on the server side.

Since the API Key is stored on the client side, but the …

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by arvinxx
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
Converted from issue

This discussion was converted from issue #560 on December 03, 2023 04:25.