zachliu commented on issue #17260:
URL: https://github.com/apache/airflow/issues/17260#issuecomment-891151912


   in case someone else is in the same situation, i used to do
   ```shell
   export AIRFLOW__WEBSERVER__SECRET_KEY=${SECRET_KEY:=$(python -c "from base64 
import b64encode; import os; SECRET_KEY = 
b64encode(os.urandom(16)).decode('utf-8'); print(SECRET_KEY)")}
   ```
   in my `entrypoint.sh` when running Airflow locally. this makes `webserver` 
and `worker` have different keys
   now i just need to
   ```shell
   export AIRFLOW__WEBSERVER__SECRET_KEY=${<READ_FROM_OUR_SECRET_MANAGER>}
   ```


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