llama-stack-mirror/llama_stack/distribution/server
Sébastien Han ee1f06417d
feat: Add Kubernetes authentication
This commit adds a new authentication system to the Llama Stack server
with support for Kubernetes and custom authentication providers. Key
changes include:

- Implemented KubernetesAuthProvider for validating Kubernetes service
  account tokens
- Implemented CustomAuthProvider for validating tokens against external
  endpoints - this is the same code that was already present.
- Added test for Kubernetes
- Updated server configuration to support authentication settings
- Added documentation for authentication configuration and usage

The authentication system supports:
- Bearer token validation
- Kubernetes service account token validation
- Custom authentication endpoints

Signed-off-by: Sébastien Han <seb@redhat.com>
2025-04-28 15:05:52 +02:00
..
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
auth.py feat: Add Kubernetes authentication 2025-04-28 15:05:52 +02:00
auth_providers.py feat: Add Kubernetes authentication 2025-04-28 15:05:52 +02:00
endpoints.py feat(telemetry): clean up spans (#1760) 2025-03-21 20:05:11 -07:00
server.py feat: Add Kubernetes authentication 2025-04-28 15:05:52 +02:00