Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 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.