-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Closed
Labels
area:APIAirflow's REST/HTTP APIAirflow's REST/HTTP APIarea:corekind:bugThis is a clearly a bugThis is a clearly a bugpending-response
Description
Apache Airflow version
3.1.6
If "Other Airflow 3 version" selected, which one?
3.1.0
What happened?
When the enivronment variable AIRFLOW__API__EXPOSE_CONFIG is set to non-sensitive-only some secrets are visible in menu Admin / Config:
Section Key Value
core simple_auth_manager_users admin:admin <- USER:PASSWORD
core sql_alchemy_conn mysql+mysqldb://DB_USER:DB_PASSWORD_HERE@....rds.amazonaws.com:3306/airflow_db
kubernetes_environment_variables client_id some_uuid <- probably shouldn't be exposed
kubernetes_environment_variables client_secret some_secret <- probably shouldn't be exposed
What you think should happen instead?
Values from above should not be visible.
How to reproduce
Set AIRFLOW__API__EXPOSE_CONFIG env var to 'non-sensitive-only'.
Operating System
linux
Versions of Apache Airflow Providers
No response
Deployment
Official Apache Airflow Helm Chart
Deployment details
Chart 1.18
Anything else?
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
bugraoz93
Metadata
Metadata
Assignees
Labels
area:APIAirflow's REST/HTTP APIAirflow's REST/HTTP APIarea:corekind:bugThis is a clearly a bugThis is a clearly a bugpending-response