This node provides the authentication for all Azure OpenAI models. It allows you to select the credentials that contain a valid Azure OpenAI API key in their password field (the username is ignored).
Credentials can be set on the workflow level (right-click the workflow in the KNIME Explorer and click "Workflow Credentials") or created inside the workflow e.g. with the Credentials Configuration node and fed into this node via flow variable.
Alternatively, you can access an Azure OpenAI API via OAuth authentication by connecting a credential port object to the dynamic input port. For OAuth authentication, the https://cognitiveservices.azure.com/.default scope is required. The scope can be defined either in the Microsoft Authenticator or the secret store, which also provide it under the Azure OpenAI standard scope.
To find your Azure OpenAI API key, navigate to your Azure OpenAI Resource on the Azure Portal and copy one of the keys from 'Resource Management - Keys and Endpoints'.
The Azure Resource Endpoint URL can also be found on the Azure Portal under 'Resource Management - Keys and Endpoints'.
For the correct API version, refer to the Azure OpenAI API preview lifecycle .