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 Cloud Stackland
  • What's new
  • Installation
    • All tutorials
    • Installing Stackland on Yandex BareMetal
    • Installing Stackland on Yandex BareMetal via PXE
    • Installing Stackland on Yandex Cloud VMs
    • Setting up external access to a pod in a cluster
    • Verifying signatures for custom images
    • All guides
        • Activate Managed Service for Apache Airflow™
        • Creating a Apache Airflow™ cluster
        • Updating Apache Airflow™ cluster settings
        • Getting Apache Airflow™ administrator credentials
        • Opening the Apache Airflow™ web UI
        • Pausing or resuming an Apache Airflow™ cluster
        • Deleting a cluster Apache Airflow™
        • Troubleshooting Apache Airflow™
        • Disabling Managed Service for Apache Airflow™
    • Projects
    • Resource model
    • Scaling a cluster
    • Licensing
  • Access management
  • Pricing policy
  • Diagnostics and troubleshooting

In this article:

  • Finding the secret
  • Getting a username
  • Getting a password
  • Rotating a password
  1. Step-by-step guides
  2. Orchestrating data
  3. Managed Service for Apache Airflow™
  4. Getting Apache Airflow™ administrator credentials

Getting Apache Airflow™ administrator credentials

Written by
Yandex Cloud
Updated at October 30, 2026
View in Markdown
  • Finding the secret
  • Getting a username
  • Getting a password
  • Rotating a password

The administrator credentials are stored in a secret in the AirflowCluster namespace.

Finding the secretFinding the secret

To find the secret with the credentials for the cluster in question:

  1. Get the cluster UID:

    kubectl get airflowcluster <cluster_name> \
      -n <namespace> \
      -o jsonpath='{.metadata.uid}'
    
  2. Find the secrets created for this UID:

    kubectl get secret -n <namespace> \
      -l 'airflow.stackland.yandex.cloud/owner-uid=<cluster_UID>'
    
  3. Use the secret name with the -admin suffix instead of <secret_name> in the following commands.

Getting a usernameGetting a username

kubectl get secret <secret_name> \
  -n <namespace> \
  -o jsonpath='{.data.username}' | base64 --decode

The default username is admin.

Getting a passwordGetting a password

kubectl get secret <secret_name> \
  -n <namespace> \
  -o jsonpath='{.data.password}' | base64 --decode

Warning

The password gives administrative access to the Apache Airflow™ cluster. Save it in a secure location and do not provide it via logs, messages, or version control system.

Rotating a passwordRotating a password

To change the admin's password, edit the password key in its secret. The operator monitors changes in the secret and re-runs account configuration. You cannot edit the username key.

Warning

In the current distribution, a new password of an existing user may not apply automatically. The Ready state does not confirm the password change. You need to log in using the new value. If you failed to log in, follow this guide on regaining access.

  1. If the cluster is stopped, restart it.

  2. Update only the password key in the secret you found:

    kubectl patch secret <secret_name> \
      -n <namespace> \
      --type=merge \
      -p '{"stringData":{"password":"<new_password>"}}'
    
  3. Wait until the change is processed and the cluster switches back to Ready:

    kubectl get airflowcluster <cluster_name> \
      -n <namespace> \
      -w
    

    If the cluster does not switch back to Ready, check status.conditions by running this command: kubectl describe airflowcluster <cluster_name> -n <namespace>. The InitialUserReady condition shows the account configuration result.

  4. Log out of the web interface, then log in again with the new password.

Was the article helpful?

Previous
Updating Apache Airflow™ cluster settings
Next
Opening the Apache Airflow™ web UI
© 2026 Direct Cursus Technology L.L.C.