forked from phoenix/litellm-mirror
remove secret manager integration from docs
This commit is contained in:
parent
84567e4f99
commit
647483f172
2 changed files with 0 additions and 34 deletions
|
@ -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.
|
|
@ -139,7 +139,6 @@ const sidebars = {
|
|||
type: 'category',
|
||||
label: 'Extras',
|
||||
items: [
|
||||
'extras/secret',
|
||||
'extras/contributing',
|
||||
'debugging/hosted_debugging',
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue