The Simplest Way to Make Azure Synapse and Domino Data Lab Work Like They Should
Teams use azure synapse and domino data lab together to run large data science models. Azure Synapse stores and processes the data, while Domino Data Lab runs the notebook jobs. This pair lets data scientists train models on big tables without moving raw files around. The two tools share data through network links and cloud roles. How azure synapse and domino data lab share data and roles Data flows between the two platforms through standard database drivers and cloud storage links. A data s
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 use azure synapse and domino data lab together to run large data science models. Azure Synapse stores and processes the data, while Domino Data Lab runs the notebook jobs.
This pair lets data scientists train models on big tables without moving raw files around. The two tools share data through network links and cloud roles.
How azure synapse and domino data lab share data and roles
Data flows between the two platforms through standard database drivers and cloud storage links. A data scientist starts a workspace session inside Domino Data Lab.
That workspace needs to read tables or write scores back to Azure Synapse. To do this, the workspace sends a login request to the cloud directory.
Teams often use cloud directory identities or service principals to handle this login step. Once the directory checks the identity, it sends back a token.
The workspace uses that token to talk to the SQL pool or Spark pool. For small datasets, standard database drivers pull rows right into the notebook memory.
For huge datasets, teams stage the data in cloud object storage first. Both tools read and write to that shared storage bucket during model runs.
Permissions in the cloud directory control which tables the workspace can read or change. Database roles inside the warehouse add another check at the schema and table level.
Common failure modes with shared accounts and broad network rules
Many teams take shortcuts when they first link their notebooks to the data warehouse. The most common mistake is using one shared database account for the whole data team.
When everyone shares one login, the warehouse logs show the same user for every query. Security teams cannot tell which person ran a slow query or read a table.
Another big risk comes from saving static passwords or long-lived keys inside user projects. If a notebook leaks or a user leaves, those saved keys stay active.
Azure RBAC + End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Broad permissions also cause trouble in production setups. A role that grants full read rights exposes sensitive columns like emails and phone numbers.
Data masking rules can rewrite matched fields like card numbers or national IDs in results. Without these rules, raw user data lands right in local notebook files.
Network paths between the compute cluster and the warehouse also need tight rules. Opening the warehouse firewall to all cloud traffic invites outside attacks.
Instead, teams should use private network links between the notebook cluster and the warehouse. Each project should also use its own narrow role with read rights to specific views.
Scoping permissions and audit logs for production
A clean setup starts by mapping each user to their own cloud identity. Avoid project-wide passwords and use short-lived tokens tied to a single person.
Set up database roles that match the exact job a model needs to do. Training jobs only need read rights on clean feature views.
Batch scoring jobs need write rights on a single output table and nothing else. Keep raw staging tables off limits to standard notebook workspaces.
Turn on query logging in the warehouse to track every read and write action. Make sure those logs capture the human user behind each notebook run.
Review role assignments every month to remove old projects and unused service accounts. This keeps the link between your data warehouse and your compute platform safe.
Add runtime guardrails and masking beside your databases and APIs
Login rules, role grants, and CI checks govern who connects to your stack. Yet any allowed script, engineer, or AI agent still runs commands with the full scope of its role. For workloads on Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes, SSH, or internal HTTP services, hoop.dev sits beside the service as an open-source proxy, a sidecar for your database or API.
Before a query runs, hoop.dev guardrails check the statement against your rules. An AI Analyzer you configure can score intent or hold risky calls for human review. Next, hoop.dev data masking rewrites sensitive fields in responses, and each verdict is logged per listener. Explore the MIT-licensed project on GitHub.
Frequently asked questions
How should workspaces log in to the data warehouse?
Use individual cloud directory tokens instead of shared database passwords. This links every query in the warehouse log to a specific person.
How can teams protect PII like emails and phone numbers during model training?
Scope roles to clean views and use masking to rewrite emails and card numbers. This prevents raw sensitive fields from landing in notebook storage.
What is the safest network path between the two platforms?
Route traffic through private cloud network links and block public internet rules. Only allow traffic from the specific subnet that runs your compute nodes.
Related guides
In this post