Is it possible to access the Airflow API in AWS MWAA?

Viewed 1772

I have an AWS MWAA Airflow v2.0.2 instance running.

I would like to have access to the Airflow API. Is this something supported currently? Planned for future releases? There is no mention of this in the AWS docs.

It looks like it was possible to enable the experimental API in AWS MWAA Airflow v1.10.12, but when I try to add api.auth_backend = airflow.api.auth.backend.default in the AWS UI, i get this error message:

Some of the provided configurations belong to the blocklist and can not be applied: api.auth_backend
2 Answers

According to THIS SESSION of Airflow Summit 2021 (around 41:15, when attendee ask about API of Airflow 2.0 and security concern). It seems AWS block REST API for security reason at the moment.

We were able to run some API calls on MWAA CLI as described in the official AWS MWAA User Guide.

Unfortunately, not all Airflow API commands are supported by the MWAA CLI, but the documentation is quite clear about that.

Related