Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

docs(prod.md): add litellm salt key to prod docs

Krrish Dholakia6bf3a2cb3c53
diff --git a/docs/my-website/docs/proxy/prod.md b/docs/my-website/docs/proxy/prod.md
index b59360a4f39..654d8cc2d86 100644
--- a/docs/my-website/docs/proxy/prod.md
+++ b/docs/my-website/docs/proxy/prod.md
@@ -84,6 +84,20 @@ Set `export LITELLM_MODE="PRODUCTION"`
This disables the load_dotenv() functionality, which will automatically load your environment credentials from the local `.env`.
+## 5. Set LiteLLM Salt Key
+
+If you plan on using the DB, set a salt key for encrypting/decrypting variables in the DB.
+
+Do not change this after adding a model. It is used to encrypt / decrypt your LLM API Key credentials
+
+We recommned - https://1password.com/password-generator/ password generator to get a random hash for litellm salt key.
+
+```bash
+export LITELLM_SALT_KEY="sk-1234"
+```
+
+[**See Code**](https://github.com/BerriAI/litellm/blob/036a6821d588bd36d170713dcf5a72791a694178/litellm/proxy/common_utils/encrypt_decrypt_utils.py#L15)
+
## Extras
### Expected Performance in Production