Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Yandex SIEM
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Managed Service for Apache Airflow™
  • Getting started
    • Resource relationships
    • DAG file sources
    • Networking in Managed Service for Apache Airflow™
    • Available Apache Airflow™ versions
    • Apache Airflow™ versioning policy
    • Quotas and limits
    • Impersonation
    • Host classes
    • Maintenance
    • Zones of control
  • Access management
  • Pricing policy
  • Terraform reference
  • Yandex Monitoring metrics
  • Audit Trails events
  • Release notes
  • FAQ

In this article:

  • Object Storage bucket
  • Git repository
  • Authentication methods
  • Token authentication
  • Use cases
  1. Concepts
  2. DAG file sources

DAG file sources

Written by
Yandex Cloud
Updated at November 2, 2026
View in Markdown
  • Object Storage bucket
  • Git repository
    • Authentication methods
    • Token authentication
  • Use cases

A Managed Service for Apache Airflow™ cluster automatically loads DAG files from an external source, such as a Yandex Object Storage bucket or Git repository. A single source is selected for a cluster. Its type and connection settings are specified when creating or updating the cluster.

Object Storage bucketObject Storage bucket

The bucket stores DAG files as well as additional scripts and modules used in DAG. The files may reside in the bucket root or directory. The cluster automatically downloads them from the selected bucket.

Git repositoryGit repository

For connecting to a Git repository, its address, branch name, and path to DAG file folder are specified. The cluster downloads files from the specified folder in the selected branch.

Warning

To use a Git repository, configure internet access through a NAT gateway from the Managed Service for Apache Airflow™ cluster network. When configuring it, link a NAT gateway route table to all the cluster subnets.

Authentication methodsAuthentication methods

The authentication method sets the repository address format and required credentials:

SSH key
Username and password

Connections over SSH use an address in git@<host>:<path_to_repository>.git format, such as git@github.com:<username>/<repository_name>.git, or a private SSH key for repository access.

When connecting via SSH, the RSA, DSA, ECDSA, Ed25519 private keys of the PKCS#1, PKCS#8, OpenSSL, and OpenSSH formats are supported. The private key must not be password-protected.

Connections over HTTP(S) use an address in https://<host>/<path_to_repository>.git or http://<host>/<path_to_repository>.git format, such as https://github.com/<username>/<repository_name>.git, as well as a username and password pair.

Instead of a password, you can provide an access token if the service the repository resides in supports such authentication. The username as well as its password or token cannot be empty. Credentials are specified in separate connection settings, not in the repository address.

Token authenticationToken authentication

An access token is provided in the password setting when connecting over HTTPS. The token is created in the service the repository resides in and must grant read permissions for the repository with DAG files. The token allows you to restrict access permissions granted by account password.

The username depends on the service and the token type. See below for examples and links to guides for services:

Service

Token type

Username

GitHub

Personal access token

GitHub username. The username cannot be empty, despite the fact that the token is used for authentication.

GitLab

Personal access token

Any non-empty string, e.g., GitLab username or oauth2.

GitLab

Deploy token

Name specified when the token was created. The default format is gitlab+deploy-token-<number>.

GitLab

OAuth access token

oauth2

Bitbucket Cloud

API token

Case-sensitive Bitbucket username or x-bitbucket-api-token-auth.

Bitbucket Cloud

Access token of a repository or project.

x-token-auth

Azure DevOps

Personal access token

Any non-empty string, e.g., git.

If the token expired or was revoked, create a new one and update the connection parameters in the cluster settings.

Use casesUse cases

  • Automating Yandex Data Processing operations
  • Automating Yandex Query tasks with Yandex Managed Service for Apache Airflow™

Useful linksUseful links

Uploading DAG files to a cluster

Was the article helpful?

Previous
Resource relationships
Next
Networking in Managed Service for Apache Airflow™
© 2026 Direct Cursus Technology L.L.C.