ashb commented on code in PR #46966:
URL: https://github.com/apache/airflow/pull/46966#discussion_r1965907357


##########
airflow/utils/jwt_signer.py:
##########
@@ -24,6 +27,21 @@
 from airflow.utils import timezone
 
 
+def get_signing_key(section: str, key: str) -> str:
+    from airflow.configuration import conf
+
+    secret_key = conf.get(section, key, fallback="")
+
+    if secret_key == "":
+        logging.getLogger(__name__).warning(
+            "%s/%s` was empty, using a generated one for now. Please set this 
in your config", section, key

Review Comment:
   ```suggestion
               "`%s/%s` was empty, using a generated one for now. Please set 
this in your config", section, key
   ```



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