From 647483f1723cb227816c15ed627709a052d89659 Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Wed, 4 Oct 2023 09:40:16 -0700 Subject: [PATCH] remove secret manager integration from docs --- docs/my-website/docs/extras/secret.md | 33 --------------------------- docs/my-website/sidebars.js | 1 - 2 files changed, 34 deletions(-) delete mode 100644 docs/my-website/docs/extras/secret.md diff --git a/docs/my-website/docs/extras/secret.md b/docs/my-website/docs/extras/secret.md deleted file mode 100644 index 59f046eff8..0000000000 --- a/docs/my-website/docs/extras/secret.md +++ /dev/null @@ -1,33 +0,0 @@ -# Secret Managers -liteLLM reads secrets from yoour secret manager, .env file - -- [Infisical Secret Manager](#infisical-secret-manager) -- [.env Files](#env-files) - -For expected format of secrets see [supported LLM models](https://litellm.readthedocs.io/en/latest/supported) - -## Infisical Secret Manager -Integrates with [Infisical's Secret Manager](https://infisical.com/) for secure storage and retrieval of API keys and sensitive data. - -### Usage -liteLLM manages reading in your LLM API secrets/env variables from Infisical for you - -```python -import litellm -from infisical import InfisicalClient - -litellm.secret_manager = InfisicalClient(token="your-token") - -messages = [ - {"role": "system", "content": "You are a helpful assistant."}, - {"role": "user", "content": "What's the weather like today?"}, -] - -response = litellm.completion(model="gpt-3.5-turbo", messages=messages) - -print(response) -``` - - -## .env Files -If no secret manager client is specified, Litellm automatically uses the `.env` file to manage sensitive data. diff --git a/docs/my-website/sidebars.js b/docs/my-website/sidebars.js index 14edf7af50..4a91e856c2 100644 --- a/docs/my-website/sidebars.js +++ b/docs/my-website/sidebars.js @@ -139,7 +139,6 @@ const sidebars = { type: 'category', label: 'Extras', items: [ - 'extras/secret', 'extras/contributing', 'debugging/hosted_debugging', ],