Azure Data Factory Git Integration

Published
Length
3 min read

Luis Felipe Dias

All posts

You set up azure data factory git integration by linking a factory to a repo. This setup stores pipeline files as code and tracks every change in branches. Data teams often grant broad workspace roles so engineers can debug pipelines fast. Broad roles let users run live queries or read raw data outside version control. How azure data factory git integration works In live mode, engineers edit and publish pipelines straight to the cloud service. One bad edit can break a running job right away.

Azure RBAC + Git Commit Signing (GPG, SSH): the complete guide

Architecture patterns, implementation strategies, and security best practices. Delivered to your inbox.

Free white paper. No spam. Unsubscribe anytime.

You set up azure data factory git integration by linking a factory to a repo. This setup stores pipeline files as code and tracks every change in branches. Data teams often grant broad workspace roles so engineers can debug pipelines fast. Broad roles let users run live queries or read raw data outside version control.

How azure data factory git integration works

In live mode, engineers edit and publish pipelines straight to the cloud service. One bad edit can break a running job right away. Git integration changes where those draft pipeline files live. The factory reads and writes JSON files in Azure DevOps or GitHub.

Each engineer works in a separate feature branch to build new data flows. They test changes in that branch before merging anything to the main branch. Pull requests let peers check the logic before code reaches the shared branch. When the team merges the pull request, a publish branch builds deployment templates.

Release pipelines then push those templates to test and production data factories. You need permissions in both the cloud portal and the source code repo. Cloud roles control who can view the factory and run test pipelines. Repo permissions control who can push branches and approve pull requests.

Branch workflow and permission boundaries

Teams pick one main collaboration branch where all approved work comes together. Nobody should push code straight to this main branch without a review. Branch policies in your repo block direct pushes and demand pull request approvals. This rule stops untested pipeline changes from reaching production jobs.

Linked services store the details needed to reach databases and storage accounts. Git stores the names of these links, not the secret keys themselves. Teams keep actual passwords and keys inside a separate cloud key store. The factory fetches those secrets at runtime using its own managed identity.

Engineers still need rights to test their branches against real data sources. Many teams connect dev branches to staging or production data stores for testing. That choice makes testing easy, but it opens a major security gap. Anyone with branch edit rights can preview tables and read real records.

Azure RBAC + Git Commit Signing (GPG, SSH): architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

What native source control solves and what it misses

Source control gives data teams a clear history of every pipeline edit. You can see who changed a data flow and roll back broken code. Code reviews catch bad joins or wrong table names before deployment. It also lets you save draft work without publishing unfinished pipelines.

Still, source control only governs the pipeline files stored in your repo. It does not check what happens when an engineer runs a data preview. Cloud roles decide who logs in, not what individual queries return in flight. If a linked database holds customer emails or card numbers, previews show them.

Git cannot mask sensitive columns like phone numbers or national IDs during tests. It also cannot block a user from querying a restricted table directly. When engineers debug a broken pipeline, they often log into the database directly. Those direct sessions bypass Git reviews and leave little detail in audit logs. Teams need runtime controls that inspect queries and rewrite matched fields in results.

Govern statements and responses across databases and APIs

Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.

First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.

Frequently asked questions

Does Git store secret keys from linked services?

No, Git only saves the structural JSON files for your pipelines and links. You should store passwords and keys in a managed cloud key vault.

Can two engineers work on the same data factory at once?

Yes, each engineer creates an isolated feature branch from the main collaboration branch. They build and test in private branches before merging changes via pull requests.

Does repo branch protection stop engineers from seeing production data?

No, branch protection only controls who can merge pipeline code into main branches. If a dev factory links to live data, data previews still return raw rows.

Save the open-source gateway.

hoop is MIT-licensed infrastructure for controlling how AI agents reach production data. Star hoophq/hoop so you can inspect it, deploy it, or share it when your team starts governing agent access.