The Simplest Way to Make Azure Data Factory and Github Work Like They Should
Pairing azure data factory and github lets your team track pipeline changes in version control. You store data jobs as code files and review every update before it goes live. Without source control, engineers save changes straight to the live data service. One wrong edit can break a daily job and wipe out hours of work. Linking your data factory to a code repo fixes this problem for good. Each engineer works on a separate branch and tests logic in a safe space. When the work is ready, a teammat
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.
Pairing azure data factory and github lets your team track pipeline changes in version control. You store data jobs as code files and review every update before it goes live.
Without source control, engineers save changes straight to the live data service. One wrong edit can break a daily job and wipe out hours of work. Linking your data factory to a code repo fixes this problem for good. Each engineer works on a separate branch and tests logic in a safe space. When the work is ready, a teammate checks the diff and approves the merge.
How azure data factory and github share data and permissions
First, an admin links the data workspace to a single code repo. The cloud workspace reads and writes pipeline files through an authorized account. You log in with your git user account to set up the initial link. After that, the workspace saves every pipeline, dataset, and linked service as text files.
Engineers do not edit the live service directly anymore. Instead, each person creates a working branch from the main collaboration branch. As you build a pipeline in the browser, the workspace writes changes to your branch. No one else sees your draft work until you open a pull request.
When the team merges your pull request into the main branch, the next step starts. The workspace compiles the merged files into a single deployment template and saves it. Build scripts then push that template to your test and production workspaces. Those build scripts use a managed service identity with scoped cloud roles to deploy changes.
Common failure modes and how to scope roles
Many teams fail because they share one personal token across the whole group. When that person leaves the company, the token dies and breaks every deployment. Other teams grant broad admin rights to the build runner. If an attacker steals that key, they can delete live data stores.
Another common trap is letting engineers publish straight from the browser in production. Manual publishing skips the automated build checks and makes your repo out of date. Soon, nobody knows which version of a pipeline is actually running in production. Unlogged manual edits also break audit rules during security reviews.
Azure RBAC + GitHub Actions Security: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
You can fix these risks with strict branch rules and scoped cloud roles. First, turn off manual publishing in your test and live workspaces. Force every change to flow through the build runner from the publish branch. Next, replace long-lived personal keys with federated workload identities for your build jobs. Give that identity a custom role that can only update data factory items.
Keeping secrets out of your pipeline code
Never store database passwords or API keys inside your repo files. Anyone with read rights to the code repo could see those raw credentials. Instead, store all secrets in a dedicated cloud vault service. The data workspace fetches the secret at runtime using its own managed identity.
Your code files in the repo only hold the name of the secret. You pass different vault names for development, test, and live stages during deployment. This setup keeps your repo clean and protects live databases from accidental leaks. If a pipeline queries sensitive tables, masking rewrites matched fields like emails or card numbers 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
Which branch holds the final deployment template?
The workspace writes the compiled deployment files to a dedicated publish branch in your repo. Your release pipelines read from this publish branch to update test and live stages.
Can two engineers work on the same pipeline at once?
Yes, each engineer creates a separate feature branch from the main collaboration branch. Git flags any conflicting edits when both engineers open pull requests to merge their work.
What happens if a developer loses repo write permissions?
That developer can still view pipelines in the browser if they hold cloud reader roles. Still, they cannot save changes to any branch until a repo admin restores write permissions.
Related guides
In this post