How Topaz emulates the Azure Container Registry data plane
Container Registry is different from every other Azure service Topaz emulates. You do not call it through the Azure SDK with a credential — you call it through the Docker CLI, docker pull, docker push, helm push, or any OCI-compliant client. Before any of that works, the client has to authenticate. And that authentication flow is entirely its own protocol, separate from anything in the Azure REST API.
This post walks through how Topaz emulates the ACR data plane authentication layer and what design decisions made it possible without writing a custom token server.
