The Simplest Way to Make Azure DevOps and Domino Data Lab Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Teams pair azure devops and domino data lab to automate machine learning workflows. This setup links code changes in source control to model runs in data workspaces. Data scientists write model code and push updates to a central repo. Build pipelines then test that code and start training jobs on compute clusters. This flow turns manual notebook tasks into repeatable delivery pipelines. How azure devops and domino data lab share data and roles First, the two systems must trust each other bef

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

Teams pair azure devops and domino data lab to automate machine learning workflows. This setup links code changes in source control to model runs in data workspaces.

Data scientists write model code and push updates to a central repo. Build pipelines then test that code and start training jobs on compute clusters. This flow turns manual notebook tasks into repeatable delivery pipelines.

How azure devops and domino data lab share data and roles

First, the two systems must trust each other before any job can run. Admins set up identity links so pipelines can call the data science platform. The build tool holds a secret key or uses a federated token to log in.

When a developer merges code, the pipeline starts a new build step. That step sends an API call to the data platform to start a job. The platform pulls the latest files from the repo and starts a compute container.

During the run, the model reads training sets and writes output metrics. Once the job finishes, the platform sends the status back to the pipeline. If tests pass, the pipeline registers the model artifact for release.

Common risks with shared keys and broad permissions

Many teams start by putting one personal API key into their build variables. This quick fix creates major security and audit problems later on. If five pipelines use the same key, logs show one user for every run.

Shared service accounts also tend to gain too many permissions over time. Teams add project rights to the shared account so new builds do not fail. Soon, one leaked pipeline token can read or delete every project in the workspace.

Long-lived keys create another big risk for platform teams. People leave the team, or keys sit in build settings for years without rotation. If an attacker steals that static key, they gain quiet entry to model data.

Azure RBAC + End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Unlogged database queries during training runs add more blind spots. Models often pull live customer data using keys stored inside the workspace. If that data holds emails, phone numbers, or card numbers, raw values may leak into logs.

How to scope roles and network paths between both tools

You can fix these issues by scoping roles to single projects and pipelines. Give each build pipeline its own service principal with narrow rights. That role should only start jobs in one target project, not the whole workspace.

Use short-lived tokens instead of static keys whenever the platform supports them. Store any required secrets in a dedicated vault rather than plain pipeline variables. Rotate those keys on a strict schedule so old credentials expire fast.

Lock down network paths between your build agents and your data cluster. Run private build agents inside your virtual network so traffic stays off public routes. Set firewall rules so only approved agent subnets can reach the workspace API.

Finally, add data masking to database sessions used by training jobs and notebooks. Masking rewrites matched fields like national IDs or emails in query results. This step keeps sensitive records out of model artifacts and build logs.

Check database and API queries on the wire

Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.

Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.

Frequently asked questions

How should pipelines log in to start a training job?

Use a dedicated service identity for each project pipeline instead of a personal key. Scope that identity so it can only run jobs in one specific project.

Where should we store code when using both platforms?

Keep your main model code and pipeline files in the Git repo. Let the data platform pull from that repo by commit hash during each run.

How do we protect sensitive fields during automated model runs?

Apply dynamic data masking on the database queries that feed your training jobs. Masking rewrites fields like card numbers or phone numbers in the returned results.

The query runs. The emails stay hidden.