Shared responsibility overview for Workflows
Last updated on
The shared responsibility model for STACKIT Workflows clearly delineates operational and security boundaries between STACKIT and you as the customer. The STACKIT Workflows service certificate defines the binding service scope, the SLA, and the backup terms. For a general overview of cloud governance and shared responsibilities across STACKIT, see the STACKIT shared responsibility model.
Our responsibilities
Section titled “Our responsibilities”STACKIT runs the managed Airflow components, the Kubernetes infrastructure behind them, and the maintained runtime images, so that you can concentrate on your pipelines:
| Security category / specific task | Description / Scope |
|---|---|
| Managed Airflow components | Provisioning, operating, maintaining, and scaling the core Airflow components of every instance: scheduler, web server, metadata base, and log storage. |
| Availability | Keeping the Airflow UI reachable and the Airflow scheduler processing DAGs, as defined in the SLA of the service certificate. Planned maintenance is excluded. |
| Underlying infrastructure | Providing and dynamically scaling the Kubernetes infrastructure that Workflows instances and their tasks run on. |
| Task isolation | Running each task in a dedicated Kubernetes pod, so that one workload does not take resources from another. |
| Pre-installed packages and operators | Maintaining the pre-installed Airflow providers and the stackit_workflows provider package, and updating them for compatibility and security with every Workflows release. |
| Runtime images | Building and maintaining the STACKIT Python and Spark runtime images that the STACKIT operators and decorators run your code in. |
| DAG synchronization | Cloning your connected Git repository when the instance starts, and polling it continuously for pushed changes. |
| Authentication integration | Running the OpenID Connect login flow, extracting roles from the token, and validating the signature, issuer, and audience of API tokens against the key set of your identity provider. |
| Workflows versions | Publishing Workflows versions that bundle a supported Apache Airflow version with the updated package set. |
| Observability integration | Forwarding core Airflow metrics and task metrics to the STACKIT Observability instance you select, and providing the pre-configured Grafana dashboard. |
| Instance sizing and quotas | Sizing the Workflows infrastructure (web servers, schedulers, and triggers) and setting the worker quota of your instance on request. |
| Private registry credentials | Adding the credentials of your private container registry to your instance as a secret, after you request it through a support ticket. |
Your responsibilities at a glance
Section titled “Your responsibilities at a glance”The following table summarizes the primary customer responsibilities when authoring and operating pipelines on Workflows:
| Security category / specific task | Documentation & Best practices |
|---|---|
| Identity provider and Airflow access | Identity Provider, External IdP |
| DAG code and DAG repository | DAGs repository, Best practices |
| Python dependencies and custom images | Installing missing packages, Using the STACKIT Spark Image with Extra Packages |
| Secrets, connections, and pipeline data | Workflows FAQ, STACKIT Secrets Manager |
| Task resources and worker quota | Create your first Workflows instance and run tasks on it, Workflows FAQ |
| Monitoring and alerting | Monitoring, STACKIT Observability |
| Instance life cycle and version upgrades | Create and manage instances for Workflows, Upgrade to Airflow 3 |
| Backup, availability, and license terms | STACKIT Workflows service certificate, Airflow REST API |
| Support collaboration | Workflows Help Center, Workflows FAQ |
Your responsibilities in detail
Section titled “Your responsibilities in detail”To make security and operational tasks clear across your engineering teams, the following sections break down the high-level customer responsibilities into fine-grained, concrete domains and controls.
Identity, access, and roles
Section titled “Identity, access, and roles”Access to a Workflows instance is governed in two separate places: STACKIT Portal roles control the instance and its configuration, and your identity provider controls who reaches the Airflow UI and the Airflow REST API:
| Focus area / Task | Concrete customer responsibility | Documentation & Best practices |
|---|---|---|
| STACKIT Portal roles | Assign the Workflows Admin, Workflows Editor, and Workflows Reader roles following the principle of least privilege, and review the assignments when team responsibilities change. | STACKIT Portal roles, Assign roles to an account |
| Identity provider integration | Register Workflows as a confidential OpenID Connect client, add the redirect URL of the instance in your identity provider, and keep client ID, client secret, scopes, and discovery endpoint valid. | Identity Provider, External IdP |
| Airflow role mapping | Map users and groups to the Airflow roles Admin, Op, User, and Viewer in your identity provider, and set the roles claim so that Workflows reads the roles from the right path in the token. | Airflow UI roles, Advanced Configuration |
| Programmatic API access | Use a separate OAuth2 client with the client_credentials grant for automation and CI/CD, and set the API audience so that the session endpoint is enabled and tokens with another audience are rejected. |
API Authentication |
DAG repository and code supply chain
Section titled “DAG repository and code supply chain”Your DAG repository is the deployment channel into the instance: everything you push to the configured branch is synchronized and parsed within about a minute:
| Focus area / Task | Concrete customer responsibility | Documentation & Best practices |
|---|---|---|
| Repository access and credentials | Provide a Git repository that Workflows can reach, supply an account or PAT that grants read access only, and update the credentials in the instance configuration before they expire. | DAG, Edit an instance |
| Business logic separation | Keep business logic (SQL, data-processing Python scripts, Spark jobs) in separate files that do not reference Airflow or DAGs, and import it into your DAG files. You can then test and maintain it independently of Airflow, for example in STACKIT Notebooks. | Separating business logic from control logic, DAGs repository |
| Branch strategy and promotion | Maintain one branch per environment, point each Workflows instance at the branch that matches it, define the merge strategy between them, and push only tested and reviewed DAGs to the production branch. | Best practices, DAG |
| Environment separation | Prototype on small or synthetic data sets, validate parameters, XCom values, permissions, and error handling in a test environment, and keep production pipelines on reviewed code and fixed image versions. | Best practices, Pinning image versions |
| DAG and configuration quality | Test your DAGs, code, and instance configuration before they reach production. The SLA excludes issues caused by customer-provided DAGs, code, or misconfiguration. | STACKIT Workflows service certificate, Best practices |
| Additional task repositories | When a task pulls its script from another repository through the git_sync_* parameters, you own the access to that repository and the SSH key secret the task uses to clone it. |
DAGs repository, Launching a Spark Cluster |
Dependencies, images, and task runtime
Section titled “Dependencies, images, and task runtime”Tasks run in container images that you select, with the resources you request, inside the worker quota of your instance:
| Focus area / Task | Concrete customer responsibility | Documentation & Best practices |
|---|---|---|
| Python dependencies | Never install packages in the DAG definition itself, keep runtime installs to experiments, and move recurring dependencies into a custom image built on the STACKIT Spark image. | Installing missing packages, Using the STACKIT Spark Image with Extra Packages |
| Image provenance and version pinning | Build your custom images on the STACKIT Spark image, pin an explicit image version in every DAG, and avoid the latest tag in production. |
Pinning image versions, Installing missing packages |
| Private registry access | Request a support ticket to have your registry credentials added to the instance, and do not include credentials or secrets in the initial ticket message. | Workflows FAQ, Installing missing packages |
| Non-root task pods | Run every task pod as a non-root user: prefer images that already do, and otherwise set a security context such as runAsUser on the operator. |
Using the STACKIT Spark Operator |
| Task resources and worker quota | Size cpu, memory_gb, and the executor parameters per task to the work it does, and request a quota increase through a support ticket when tasks fail with exceeded quota: airflow-worker-quota. |
Launching a Spark Cluster, Workflows FAQ |
Secrets, connections, and pipeline data
Section titled “Secrets, connections, and pipeline data”Workflows holds no secret store of its own, so every credential your pipelines use is yours to supply, protect, and rotate:
| Focus area / Task | Concrete customer responsibility | Documentation & Best practices |
|---|---|---|
| Secret handling in DAGs | Keep credentials out of DAG code and container images: store them as Airflow connections, or integrate STACKIT Secrets Manager yourself through its REST API with a custom client or a synchronization DAG. | Workflows FAQ, STACKIT Secrets Manager |
| Connections to external systems | Configure, protect, and rotate the connections your DAGs use to databases, object storage, and third-party APIs through the pre-installed Airflow providers. | Available packages / operators, STACKIT Object Storage |
| XCom contents | Airflow stores XCom values and shows them in the Airflow UI to everyone who can open the DAG, so keep sensitive payloads out of task return values and pass a reference to the data instead. | Implementing Cross Task Communication (XCom), Airflow UI roles |
| Data assets and downstream triggers | Treat an asset URI as a logical label that triggers consumer DAGs, not as an access path: Airflow never reads the URI, so protect the storage it names with that system’s own access controls. | Using Data Assets for Data-Driven DAG Scheduling |
Instance life cycle, backup, and license terms
Section titled “Instance life cycle, backup, and license terms”You decide when an instance is created, reconfigured, upgraded, or deleted, and the service certificate assigns backup and restore to you:
| Focus area / Task | Concrete customer responsibility | Documentation & Best practices |
|---|---|---|
| Configuration changes | Change general properties, identity provider, and DAG repository only while the instance is Active, watch it return to Active, and troubleshoot the Error state, for example after a credential change. | Edit an instance |
| Airflow 3 upgrade | Plan the upgrade as a migration: update your DAGs to the Airflow 3 import paths and assets, create a second instance on the Airflow 3 version, validate every critical DAG, and only then delete the old instance. | Upgrade to Airflow 3, Key changes in Airflow 3 |
| DAG retention and recovery | Treat your Git repository as the source of truth for DAG code and keep it backed up, because the repository, not the instance, is what you restore from. | DAGs repository, Best practices |
| Instance deletion | Export what you need before deleting an instance: deletion is irreversible and removes the instance metadata, including DAG run history and XCom values. | Delete an instance, Upgrade to Airflow 3 |
| Backup and restore | Back up and restore your instance data yourself, because STACKIT doesn’t. Export the data stored in the instance and its users and permissions as JSON through the Airflow REST API. | STACKIT Workflows service certificate, Airflow REST API |
| Instance configuration record | Keep your own record of the instance configuration, such as the identity provider settings, the DAG repository, and the Workflows version, because the service doesn’t export it. | STACKIT Workflows service certificate, Edit an instance |
| License terms | Use STACKIT Workflows in line with the Apache License 2.0 conditions that apply to the service. | STACKIT Workflows service certificate |
Monitoring, troubleshooting, and support
Section titled “Monitoring, troubleshooting, and support”STACKIT forwards the metrics and provides the dashboard; watching the pipelines, reacting to failures, and bringing the right context into a support ticket stay with you:
| Focus area / Task | Concrete customer responsibility | Documentation & Best practices |
|---|---|---|
| Metrics and dashboards | Connect an Observability instance in the same project when you create the Workflows instance, and use the pre-configured dashboard to watch task resource consumption and run time. | Monitoring, Monitoring / Observability integration |
| Alerting | Define alert rules and notification receivers in the Observability instance that receives your Workflows metrics, so that your team learns about failures without watching the Airflow UI. | Manage alert groups and alerts, Manage alert receivers |
| Known issues | Check the known issues before you investigate a defect: a DAG import error that survives the deletion of its DAG is cleared with a dummy DAG of the same name, and interrupted log reads are harmless. | Workflows FAQ |
| Support collaboration | Open a support ticket for a quota increase, a different instance size, private registry credentials, or an OpenID Connect provider that is not listed, and sanitize the details you attach to it. | Workflows Help Center, Workflows FAQ |