Skip to content
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion litellm/litellm_core_utils/cli_token_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def get_litellm_gateway_api_key(
"""
Get the stored CLI API key for use with LiteLLM SDK.

This function reads the token file created by `litellm-proxy login`
This function reads the token file created by `lite login`
and returns the API key for use in Python scripts.

Args:
Expand Down
14 changes: 7 additions & 7 deletions litellm/proxy/client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,9 +338,9 @@ sequenceDiagram

The CLI provides three authentication commands:

- **`litellm-proxy login`** - Start SSO authentication flow
- **`litellm-proxy logout`** - Clear stored authentication token
- **`litellm-proxy whoami`** - Show current authentication status
- **`lite login`** - Start SSO authentication flow
- **`lite logout`** - Clear stored authentication token
- **`lite whoami`** - Show current authentication status

### Authentication Flow Steps

Expand Down Expand Up @@ -382,14 +382,14 @@ Once authenticated, the CLI will automatically use the stored token for all requ

```bash
# Login
litellm-proxy login
lite login

# Use CLI without specifying API key
litellm-proxy models list
lite models list

# Check authentication status
litellm-proxy whoami
lite whoami

# Logout
litellm-proxy logout
lite logout
```
Loading
Loading