Release

Sign in to Azure without an API key: OpenCode v1.18.24/25

Azure providers can now authenticate with Microsoft Entra ID through the Azure CLI. What changed, who benefits, and what the follow-up fix in v1.18.25 addressed.

v1.18.24 shipped one quietly significant change for enterprise users: Azure providers can sign in with Microsoft Entra ID through the Azure CLI, instead of requiring an API key.

What changed

Previously, using Azure-hosted models meant provisioning and pasting an API key. Now the Azure provider in OpenCode authenticates via the Azure CLI’s signed-in identity — the same credential surface your infrastructure tooling already uses.

The next day’s v1.18.25 followed up with a fix: Azure CLI sign-in now works without requiring Bun, so the flow isn’t coupled to your runtime.

Who benefits

How to use it

Update to v1.18.25 or later, make sure az is signed in (az login), then connect the Azure provider — authentication goes through your Azure CLI identity instead of an API key. Full provider setup lives in the providers documentation.

The authoritative change list is in the v1.18.24 and v1.18.25 release notes.

溯源: https://github.com/anomalyco/opencode/releases/tag/v1.18.25