abhijeets25012-tech opened a new pull request, #59957: URL: https://github.com/apache/airflow/pull/59957
This PR enhances the Airflow CLI connections_list command by introducing a new optional flag --show-values. By default, sensitive fields like passwords and extra data are hidden for security reasons. When this flag is used, the command will display all connection details, including sensitive values. Changes included: Added --show-values optional argument to the connections_list command. Updated _connection_mapper function to accept a show_values parameter. Adjusted CLI output to show sensitive fields only when the flag is provided. Benefits: Provides flexibility for administrators to view full connection details from the CLI when needed. Maintains security by hiding sensitive values by default. Tested: Verified that connections_list without --show-values hides passwords and extras. Verified that connections_list --show-values displays all fields correctly. -- 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]
