# Azure OpenAI

Describes Keryn 0.5.2 and keryn-rules 0.8.0.

> Triage with an Azure AI Foundry deployment: endpoint, key header, and what is sent.

Source: https://keryn.dev/docs/reference/connectors/azure/

The resource name is the part of `https://<resource>.openai.azure.com` that is yours. In Azure the model is a deployment, so the *Deployment name* field replaces the usual model name. The page's policy also lists `https://*.services.ai.azure.com`, for resources reached under that name.

## Endpoint and protocol

| Fact | Value |
|---|---|
| Endpoint | `https://{resource}.openai.azure.com/openai/v1`, with `{resource}` taken from *Resource name* |
| Protocol | Chat Completions |
| Key | `api-key: <key>` |
| Reply format | the reply is constrained to the verdict JSON schema |
| Page can reach it | only `localhost`, `127.0.0.1` and the relay hosts in [the CSP list](https://keryn.dev/docs/reference/connectors/#csp); a page you host yourself can add your address |

## Fields

| Field | Kind | Default | Notes |
|---|---|---|---|
| Resource name | text |  | From https://`<resource>`.openai.azure.com |
| API key | secret |  |  |
| Deployment name | text |  |  |

How keys and values are stored is on the [connectors overview](https://keryn.dev/docs/reference/connectors/#storage).

## What leaves your machine

> **Leaves your machine, only when you press Triage and confirm the panel, which names the model and the host:** Each request is pinned to the one origin you configured: no cookies, no referrer, and a redirect to another origin is refused.
>
> - For up to 60 findings, in batches of 15: rule, title, severity, file, line, engine, proof, confidence, taxonomy, untrusted.
> - Unless you untick it, a window of code around each finding: at most 2,400 characters, with credential-like text replaced by [REDACTED] first.
> - Your key, sent to ….openai.azure.com/openai/v1 and to nowhere else.

**Test** sends no finding. It asks the endpoint for its model list with your key, which checks the address and key without spending tokens.

*Generated from the product's connector catalog (monorepo 27434c1bb57f) by `tools/extract-product-facts.mjs`.*
