Custom connector authentication: API Key vs OAuth authorization code vs client credentials vs Entra ID

Verdict: API Key for a fixed header key, authorization code when each user signs in, client credentials for one shared service identity, Entra ID as the default. Client credentials are unsupported when creating a connector from an OpenAPI definition.

CriterionAPI KeyBasicOAuth authorization codeOAuth client credentialsMicrosoft Entra ID
Use whenBackend expects a fixed key in a header or query stringBackend validates username and passwordEach maker must sign in with their own identityAll runs use one shared application identityAzure-secured API, no custom auth code wanted
Interactive user sign-inNoNoYes, per userNoNo
Supported at connector creation from OpenAPIYesYesYesNoYes

Rules

Traps