How it works
A managed deployment does three things behind the scenes: it authenticates your worker without an API key, it builds your repository into an image it runs as-is, and it injects the connection settings into the container.
Service account authentication
Each managed deployment runs under its own service account. No API key is provisioned for the worker.
The platform mounts a rotating service-account token into the container as a file, and sets MISTRAL_SA_TOKEN_PATH to its location. The Workflows SDK reads the token from that file and picks up every rotation on its own. Your code does not handle credentials.
The worker image must install mistralai-workflows 3.10 or later. Earlier versions cannot read service-account tokens, so the worker cannot authenticate.
To restrict which users and service accounts can register workflows in this deployment, harden it — see Hardened deployments.
Repository requirements
Mistral Cloud clones the repository, builds a Docker image, and runs the image as-is. There is no entrypoint setting: the image's ENTRYPOINT/CMD must start the worker, for example python worker.py calling run_worker([...]). The console's create dialog includes an example Dockerfile to start from.
The Dockerfile is read from the top of the build context by default. When you create the deployment, set the Dockerfile path if the file is nested or named differently, and the build directory if the worker lives in a subdirectory — everything the Dockerfile copies must be inside it.
Region
When you create a managed deployment, the Mistral Cloud worker runs in the nl-north-1 region, located in the Netherlands.
Environment variables
The platform injects everything the worker needs to connect: DEPLOYMENT_NAME, SERVER_URL, and the service-account token file behind MISTRAL_SA_TOKEN_PATH. How the image installs dependencies is up to your Dockerfile — the container command only has to start the worker.