Apache Airflow version
2.6.1
What happened
Trying to connect to Vault using auth_type = aws_iam. I am receiving the following error: AttributeError: 'Client' has no attribute 'auth_aws_iam'. Looking through the code, you are using client.auth_aws_iam, but the HVAC docs use client.auth.aws.iam_login. You should also add support for boto3.Session() to use role based access.
What you think should happen instead
Airflow should authenticate to Vault using AWS auth.
How to reproduce
Setup a secrets backend of airflow.providers.hashicorp.secrets.vault.VaultBackend and set auth_type = aws_iam. It will error out saying that the client doesn't have an attribute named auth_aws_iam.
Operating System
Docker
Versions of Apache Airflow Providers
No response
Deployment
Official Apache Airflow Helm Chart
Deployment details
No response
Anything else
No response
Are you willing to submit PR?
Code of Conduct
Apache Airflow version
2.6.1
What happened
Trying to connect to Vault using
auth_type=aws_iam. I am receiving the following error:AttributeError: 'Client' has no attribute 'auth_aws_iam'. Looking through the code, you are usingclient.auth_aws_iam, but the HVAC docs useclient.auth.aws.iam_login. You should also add support forboto3.Session()to use role based access.What you think should happen instead
Airflow should authenticate to Vault using AWS auth.
How to reproduce
Setup a secrets backend of
airflow.providers.hashicorp.secrets.vault.VaultBackendand setauth_type=aws_iam. It will error out saying that the client doesn't have an attribute namedauth_aws_iam.Operating System
Docker
Versions of Apache Airflow Providers
No response
Deployment
Official Apache Airflow Helm Chart
Deployment details
No response
Anything else
No response
Are you willing to submit PR?
Code of Conduct