ApiKeyConnection
Connection configuration for AI services using API keys.
Class Diagram
Section titled “Class Diagram”---
title: ApiKeyConnection
config:
look: handDrawn
theme: colorful
class:
hideEmptyMembersBox: true
---
classDiagram
class Connection {
+string kind
+string authenticationMode
+string usageDescription
}
Connection <|-- ApiKeyConnection
class ApiKeyConnection {
+string kind
+string endpoint
+string apiKey
}
Yaml Example
Section titled “Yaml Example”kind: keyendpoint: https://{your-custom-endpoint}.openai.azure.com/apiKey: your-api-keyProperties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
| kind | string | The Authentication kind for the AI service (e.g., ‘key’ for API key, ‘oauth’ for OAuth tokens) |
| endpoint | string | The endpoint URL for the AI service |
| apiKey | string | The API key for authenticating with the AI service |