Blizzke opened a new issue, #37611:
URL: https://github.com/apache/airflow/issues/37611

   ### Apache Airflow version
   
   2.8.1
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   When specifying a VAULT_CAPATH for self signed certificates, they [are 
correctly 
loaded](https://github.com/hvac/hvac/blob/main/hvac/v1/__init__.py#L128) by the 
HCP vault client, but because the AF  internal client pre-creates a session and 
passes that along, [the adapter throws that value 
away](https://github.com/hvac/hvac/blob/main/hvac/adapters.py#L97) in favor of 
the one from the session. 
   
   Since the internal client does not read those environment settings, and does 
nothing to "correctly" configure the session.verify, it is impossible to 
specify a certificate / a path to certificates to the vault client
   
   ### What you think should happen instead?
   
   Being able to control the verify behavior.
   
   ### How to reproduce
   
   Use a self signed certificate for your vault and try to specify it using the 
environment variables
   
   ### Operating System
   
   arch
   
   ### Versions of Apache Airflow Providers
   
   apache-airflow-providers-hashicorp==3.6.3
   
   
   ### Deployment
   
   Docker-Compose
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] 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]

Reply via email to