davidsharp7 opened a new issue, #45413: URL: https://github.com/apache/airflow/issues/45413
### Description Currently the hashicorp vault client cannot set the "namespace" variable (it's defaulted to None). Believe its a case of adding "namespace" to the back end kwargs in the airflow.cfg file and then a slight tweak to this [file](https://github.com/apache/airflow/blob/main/providers/src/airflow/providers/hashicorp/_internal_client/vault_client.py). and adding the following ```python namespace = self.kwargs["namespace"] if 'namespace' in self.kwargs else None _client = hvac.Client(url=self.url, namespace=namespace,**self.kwargs) ``` ### Use case/motivation We use the namespace to logically separate environments and so need the ability to pass the "namespace" to the backend kwargs so we can authenticate with vault. ### Related issues N/A ### Are you willing to submit a 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]
