arorasachin9 opened a new issue, #58817: URL: https://github.com/apache/airflow/issues/58817
### Apache Airflow version 3.1.3 ### If "Other Airflow 2/3 version" selected, which one? _No response_ ### What happened? We are using airflow 3.1.3 with AWS secret manager as the secret backend. We are getting warning when importing secrets from the AWS secret manager `WARNING - Using Connection.from_json from airflow.models is deprecated.Please use from_json on Connection from sdk(airflow.sdk.Connection) instead` When I debugged found the issue. The base secret file which aws secret manager backend is importing is using still using the conenction from the airflow models. ### What you think should happen instead? The base secret should import connection class from airflow.sdk ### How to reproduce Spin up airlfow with 3.1.3 version with AWS secret manager as secret backend ### Operating System AmazonLinux ### Versions of Apache Airflow Providers apache-airflow-providers-amazon 9.16.0 ### Deployment Official Apache Airflow Helm Chart ### Deployment details Deployed on EKS using the helm chart ### Anything else? Let me know if it is left voluntarily like this or it can be changed. If it can be changed to the airflow.sdk path then I will submit the PR for the changes ### Are you willing to submit PR? - [x] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
