hussein-awala opened a new pull request, #29734:
URL: https://github.com/apache/airflow/pull/29734

   closes: #29666
   
   ---
   Currently we can setup Valut backend secret with a single mount point, and 
we cannot read variables/secrets from outside this mount point.
   
   This PR allows users to setup Valut backend secret with `None` mount point, 
and provide it as a prefix of secret path:
   ```python
   Variables.get("mount_point/path/to/secret")  # -> mount point: mount_point & 
secret path: path/to/secret
   Connection.get_connection_from_secrets("mount_point/path/to/secret") # -> 
mount point: mount_point & secret path: path/to/secret
   ```
   Configuration:
   ```python
   [secrets]
   backend = airflow.providers.hashicorp.secrets.vault.VaultBackend
   backend_kwargs = {"connections_path": "connections", "variables_path": 
"variables", "mount_point": None, "url": "http://127.0.0.1:8200"}
   ```


-- 
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