potiuk edited a comment on issue #19251:
URL: https://github.com/apache/airflow/issues/19251#issuecomment-958986014


   > Another possible solution I can think of is to build another Secret 
Backend that actually allows "skipping" touching the "external" secret backend 
entirely for some conditions ("prefix", "patterns"). So users don't need to 
update all their DAGs when they need to change something and will be a single 
source of truth of where the values for this variable/connection comes from.
   
   Yeah - I thought about it too, but it would have to be "mix-in" type - we 
should be able to take any of the backends out there and "mix-in" the selection 
logic. That was my initial idea as well :). But I think having a callable is 
more Pythonic way - doing pretty much the same without the overhead of creating 
a "backend class" that would take "other backend" as the "real backend to use".
   


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