Databricks SDK for JavaScript
    Preparing search index...

    Interface ModelProviderServiceConfig_EntraServicePrincipal

    Entra ID (Azure AD) service-principal auth: AI Gateway exchanges the tenant_id + client_id identify the service principal, and the credential oneof proves that identity, exchanged for an Entra bearer token on outbound requests via the OAuth2 client-credentials grant. Shared by the Azure OpenAI and Microsoft Foundry provider configs.

    interface ModelProviderServiceConfig_EntraServicePrincipal {
        clientId?: string;
        credential?: {
            $case: "clientSecret";
            clientSecret: ModelProviderServiceConfig_ProviderSecret;
        };
        tenantId?: string;
    }
    Index

    Properties

    clientId?: string

    Entra ID client (application) ID. Required on Create.

    credential?: {
        $case: "clientSecret";
        clientSecret: ModelProviderServiceConfig_ProviderSecret;
    }

    How the service principal proves its identity. Exactly one variant must be set on Create. Today only client_secret is supported. (-- A oneof so additional proof mechanisms can be added as non-breaking variants without changing the tenant_id / client_id identity fields. --)

    Type Declaration

    tenantId?: string

    Entra ID (Azure AD) tenant ID. Required on Create.