Authenticate to cloud services with user credentials
When you develop Apache Airflow dags locally with the Astro CLI, testing with local data is the easiest way to get started. For more complex data pipelines, you might need to test dags locally with data that’s stored in your organization’s cloud, such as secret values in a secrets backend service.
To access data on the cloud while developing locally with the Astro CLI, export your cloud account user credentials to a secure configuration file and mount that file in the Docker containers running your local Airflow environment. After you configure this file, you can connect to your cloud without needing to configure additional credentials in Airflow connections. Airflow inherits all permissions from your cloud account and uses them to access your cloud.