potiuk commented on PR #59852:
URL: https://github.com/apache/airflow/pull/59852#issuecomment-3693917387

   That is a bit more complex:
   
   * when you list connections and variables by default only keys should be 
shown - not the content. I think variables already work like that
   * when you add `--show-values` -> all the values should be shown and NOT 
masked
   * when you add  `--hide-sensitive`  -> all the values should be shown
   *  "SecretsMasker" should be used to hide both sensitive values and keys - 
this is default behaviour of secrets masker when you pass a dictionary to it, 
it will check Airflow configuration and all keys matching configured secret 
names and  locally configured secret values are masked automatically.
   
   You need to employ that secrets masker here when `--hide-sensitive` is used 
(also tests need to be added to cover that functionality). 


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