Subham-KRLX opened a new pull request, #61105:
URL: https://github.com/apache/airflow/pull/61105

   ## Description
   Added integration tests to verify sensitive config values are properly 
masked end-to-end when using airflowctl with actual Airflow API.
   
   The Airflow API masks sensitive values (like `fernet_key`, 
`sql_alchemy_conn`) as `< hidden >`. These integration tests confirm that 
airflowctl correctly preserves and displays those masked values in real 
scenarios.
   
   ## Changes
   - Added 
[test_config_sensitive_masking.py](cci:7://file:///Users/subhamsangwan/airflow/airflow-ctl-tests/tests/airflowctl_tests/test_config_sensitive_masking.py:0:0-0:0)
 to 
[airflow-ctl-tests](cci:7://file:///Users/subhamsangwan/airflow/airflow-ctl-tests:0:0-0:0)
   - 3 integration test cases covering:
     - `config list` command
     - `config get` for `fernet_key`
     - `config get` for `sql_alchemy_conn`
   - Tests run against actual docker-compose Airflow environment
   - Verifies `< hidden >` appears in output for sensitive configs
   
   ## Related PRs
   - Relates to #60361 (unit tests for config masking)
   
   ## Related Issue
   Closes #59843
   
   ## Testing
   ```bash
   # Run from airflow-ctl-tests directory
   pytest tests/airflowctl_tests/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]

Reply via email to