astro env airflow-variable create
astro env airflow-variable create
This command is only available on Astro.
Create a single Airflow variable with --key and --value, or bulk-create variables from a dotenv file with --from-file. When you use --from-file, the --secret and --auto-link flags apply to every entry in the file.
Bulk import with
--from-file supports POSIX-style keys only. To create an Airflow variable whose key isn’t POSIX-style, such as team.config or dag-name, use --key and --value instead.