ephraimbuddy commented on code in PR #34712:
URL: https://github.com/apache/airflow/pull/34712#discussion_r1343679602


##########
airflow/api_connexion/endpoints/config_endpoint.py:
##########
@@ -123,7 +123,7 @@ def get_value(section: str, option: str) -> Response:
                 "Config not found.", detail=f"The option [{section}/{option}] 
is not found in config."
             )
 
-        if (section, option) in conf.sensitive_config_values:
+        if (section.lower(), option.lower()) in conf.sensitive_config_values:

Review Comment:
   Instead of this, I think we should do what we do in the webserver 
https://github.com/apache/airflow/blob/f349fda125c2251ac4129c2c28fbf6f7dbb69294/airflow/www/views.py#L3840-L3845.
   



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to