Integration · CI/CD
Add a stage that prepares test data before your QA tests: the pipeline starts Synthesized masking or generation workflows through the REST API, waits for them, and only then runs the tests. The pipeline never touches the databases itself.
As described in the Synthesized documentation for Azure DevOps.
| How it connects | A Bash step runs a script that calls /external/api/v1 with the X-Access-Key header: health check, start the workflow, poll its status, fetch logs on failure, stop it on timeout. |
|---|---|
| Where secrets live | A variable group, synthesized-tdk, under Pipelines › Library, with X_ACCESS_KEY marked as secret so it is masked in logs. |
| Pipeline shape | Stage 1, Prepare test data: preflight, mask production to test, generate synthetic data. Stage 2, Run QA tests: depends on stage 1 and publishes JUnit results. |
| Schedule | A schedules block with 0 5 * * 1-5 runs at 05:00 UTC on weekdays, on main, even without code changes (always: true). |
| Agents | The documented example uses a Microsoft-hosted ubuntu-latest agent. The agent must reach Governor over HTTPS. |
Create a masking workflow, a generation workflow, or both, and run each once by hand. Note their workflow IDs.
Add synthesized-tdk under Pipelines › Library with GOVERNOR_BASE_URL, X_ACCESS_KEY (secret), MASK_WORKFLOW_ID and GENERATE_WORKFLOW_ID. Scope the key to the QA workflows and lock the group to the right environment.
Commit run-synthesized-workflow.sh to the repository. It needs curl and jq, both on the hosted Ubuntu image.
Run the data stage first and make the test stage depend on it, so tests run only after the data is ready.
A trimmed version of the documented pipeline: one masking job, then the tests. The docs add a preflight health check, a synthetic generation job and skip parameters.
azure-pipelines.yml
scripts/run-synthesized-workflow.sh
The documented script also checks GET /healthy first and writes the run ID to the synthesizedRunId output variable for later steps.
An access key carries the permissions of the Governor user who generated it. Create a user that can reach only the workflows this pipeline runs, generate the key as that user, and give it a short expiry: keys are chosen from 1 hour to a year, and the docs say they can't yet be revoked.
Two runs can't write to the same output database at the same time. If parallel pipelines or branches need data, give each environment its own workflow or output database.
Workers read the source, mask, subset or generate, and write the target. Database contents stay with the workers and aren't sent to Governor, which, like the pipeline, only sees run status, logs and configuration. Run Synthesized on-premises, including air-gapped, and the data never leaves your environment; it is also available as SaaS.
No extension is needed. A Bash step calls the Synthesized REST API with curl and jq; the Synthesized docs publish the pipeline and the script.
Store it in the synthesized-tdk variable group as a secret variable. Azure Pipelines masks secret values in logs, and you pass them to the script explicitly through env.
Yes. The documented pipeline has boolean parameters, skipMasking and skipGeneration. Re-run with one of them set and the skipped job shows as Skipped in the run graph.
Yes. Swap trigger: none for a pr trigger on main. Two runs can't write to the same output database at once, so give pull-request pipelines their own workflow or output database.
New organizations need Microsoft's free-tier parallelism grant before hosted agents run, which can take a few business days. A self-hosted agent also works, and is the usual choice when Governor is internal.
All accessed 27 November 2026.
Synthesized docs: Azure DevOps
Synthesized docs: CI/CD integrations
Bring one Azure pipeline that waits on test data, and see a Synthesized workflow refresh it before the QA stage.
Azure DevOps and Azure Pipelines are trademarks of Microsoft Corporation. All other product names are trademarks of their respective owners.