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', ],