You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/08/02 16:13:44 UTC
[GitHub] [airflow] zachliu commented on issue #17260: FORBIDDEN access to worker's logs from Web UI
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org