Subham-KRLX opened a new pull request, #60360:
URL: https://github.com/apache/airflow/pull/60360
## Description
Added test to verify sensitive config values are properly masked when using
airflowctl.
The Airflow API already masks sensitive values (like `fernet_key`,
`sql_alchemy_conn`) when returning config data. This test confirms that
airflowctl correctly receives and displays those masked values.
## Changes
- Added
[test_config_sensitive_masking.py](cci:7://file:///Users/subhamsangwan/airflow/airflow-ctl/tests/airflow_ctl/api/test_config_sensitive_masking.py:0:0-0:0)
- Test mocks API response with masked sensitive values
- Verifies `ConfigOperations.list()` handles masked data correctly
## Related Issue
Closes #59843
## Testing
```bash
pytest tests/airflow_ctl/api/test_config_sensitive_masking.py -v
--
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]