Skip to main content

astro config get

Description

View the current configuration of your Astro project as defined in the .astro/config.yaml file. The configuration in this file contains details about how your project runs in a local Airflow environment, including your Postgres username and password, your webserver port, and your project name.

Usage

Within your Astro project directory, run:

astro config get <option>

Options

OptionDescription
cloud.api.protocolThe type of protocol to use when calling the Airflow API in a local Airflow environment
cloud.api.portThe port to use when calling the Airflow API in a local environment
contextThe context for your Astro project
local.registryThe location of your local Docker container running Airflow
postgres.userYour username for the local Airflow metadata database
postgres.passwordYour password for the local Airflow metadata database
postgres.hostThe host for the local Airflow metadata database
postgres.portThe port for the local Airflow metadata database
project.nameThe name of your Astro project
webserver.portThe port for the webserver in your local Airflow environment
show_warningsDetermines whether warning messages appear when starting up a local Airflow environment
info

Some possible configurations are not documented here because they are used only on Astronomer Software.

Examples

## View the username for your project's postgres user
$ astro config get postgres.user