Databricks SDK for JavaScript
    Preparing search index...

    Interface ModelProviderServiceConfig_CustomProviderApiKeyHeaderAuth

    Header-based API-key authentication for a custom provider: the secret is forwarded on outbound requests under a caller-chosen HTTP header, as <api_key_name>: <api_key_value>.

    interface ModelProviderServiceConfig_CustomProviderApiKeyHeaderAuth {
        apiKeyName?: string;
        apiKeyValue?: ModelProviderServiceConfig_ProviderSecret;
    }
    Index

    Properties

    apiKeyName?: string

    HTTP header name that carries the API key on outbound requests (e.g., Ocp-Apim-Subscription-Key). The value forwarded under this header is supplied via api_key_value.

    Secret value forwarded under the api_key_name header on outbound requests. Supplied as inline plaintext via ProviderSecret.plaintext.