Dynamically manage OpenAI Service Accounts and API Keys.
Key | Description |
---|---|
api_key | The generated OpenAI API key (sk-... ). |
Key | Default | Description |
---|---|---|
projectId | Required | The ID of the OpenAI project where the service account will be created. |
host | "https://api.openai.com/v1" | Base URL for the OpenAI Admin API. Typically the default endpoint is sufficient. |
openAiAdminKey | Required | Kubernetes secret reference holding the OpenAI Admin API Key used for authentication. |
serviceAccountNamePrefix | Optional | Prefix for the generated service account name. |
serviceAccountNameSize | 12 | Length of the randomly generated suffix for the service account name. |
openAiAdminKey
field.
Example secret: