potiuk commented on pull request #16954:
URL: https://github.com/apache/airflow/pull/16954#issuecomment-878875176


   I think we should support authentication via custom connection. Unlike the 
public PyPi, many (if not all) private package registries require 
authentication. Default way of storing authentication on Airflow is to use 
connection. Then you can safely pass user/password and store it in secret 
backends.
   
   Why don't we add an optional PYPi connection instead of passing url via 
parameter ? This way we could use url/host/password/port from the connection 
rather than pass it in the Dag. That would by much more 'Airflowy' way of doing 
it.


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