potiuk commented on code in PR #64760:
URL: https://github.com/apache/airflow/pull/64760#discussion_r3044741867


##########
airflow-core/docs/configurations-ref.rst:
##########
@@ -22,15 +22,22 @@ Configuration Reference
 This page contains the list of all the available Airflow configurations that 
you
 can set in ``airflow.cfg`` file or using environment variables.
 
-Use the same configuration across all the Airflow components. While each 
component
-does not require all, some configurations need to be same otherwise they would 
not
-work as expected. A good example for that is 
:ref:`secret_key<config:api__secret_key>` which
-should be same on the Webserver and Worker to allow Webserver to fetch logs 
from Worker.
-
-The webserver key is also used to authorize requests to Celery workers when 
logs are retrieved. The token
-generated using the secret key has a short expiry time though - make sure that 
time on ALL the machines
-that you run Airflow components on is synchronized (for example using ntpd) 
otherwise you might get
-"forbidden" errors when the logs are accessed.
+Different Airflow components may require different configuration parameters, 
and for
+improved security, you should restrict sensitive configuration to only the 
components that
+need it. Some configuration values must be shared across specific components 
to work
+correctly — for example, the JWT signing key (``[api_auth] jwt_secret`` or
+``[api_auth] jwt_private_key_path``) must be consistent across all components 
that generate
+or validate JWT tokens (Scheduler, API Server). However, other sensitive 
parameters such as
+database connection strings or Fernet keys should only be provided to 
components that need them.

Review Comment:
   Yes. We could definitely do that.



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