public class Credentials
extends java.lang.Object
Supported provider types and their credential fields (required fields in bold):
open_ai, google_gemini_ai_studio, mistral_ai, anthropic, x_ai,
deepseek: apiKey, baseUrl, headers, sendCustomHeadersOnlyazure_open_ai: resourceName, apiKey, deploymentName, apiVersion, baseUrl,
headers, sendCustomHeadersOnlygoogle_gemini (Vertex AI): project, region, serviceAccountKey or
workloadIdentityFederationAudience (one of them is required), serviceAccountEmail, baseUrl, headers,
sendCustomHeadersOnlywatsonx: apiKey, projectId, region, baseUrl, headers, sendCustomHeadersOnlymicrosoft_foundry: deployments (each with deploymentName, targetUri,
apiKey), headers, sendCustomHeadersOnlycustom_ai: identifier, keyapiKey, headers, serviceAccountKey, key and the deployments' API keys)
are sent to the API as usual but are excluded from toString().| Modifier and Type | Class and Description |
|---|---|
static class |
Credentials.Deployment
Microsoft Foundry deployment
|
| Constructor and Description |
|---|
Credentials() |