Configure Airflow to use the AWS auth manager

In order to use the AWS auth manager as auth manager in your Airflow environment, you need to set it in your Airflow configuration. You also need to specify the AWS region where both services used by the AWS auth manager (AWS IAM Identity Center and Amazon Verified Permissions) are configured.

Note

Configuration options must be consistent across all the hosts/environments running the Airflow components (Scheduler, Webserver, ECS Task containers, etc). See here for more details on setting configurations.

[core]
auth_manager = airflow.providers.amazon.aws.auth_manager.aws_auth_manager.AwsAuthManager
region_name = <region_name>

or

export AIRFLOW__CORE__AUTH_MANAGER='airflow.providers.amazon.aws.auth_manager.aws_auth_manager.AwsAuthManager'
export AIRFLOW__AWS_AUTH_MANAGER__REGION_NAME='<region_name>'

Was this entry helpful?