[ 
https://issues.apache.org/jira/browse/FLINK-30443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17651148#comment-17651148
 ] 

Zhu Zhu commented on FLINK-30443:
---------------------------------

I think adding a Flink configuration, e.g. security.sensitive-keys, is a good 
idea which allows users to config according to their own needs. 
It can also make it easier to figure out which keys are considered sensitive by 
default. Users can find it on the apache Flink configuration 
[page|https://nightlies.apache.org/flink/flink-docs-master/docs/deployment/config/],
 instead of trying to find in the code.

> Expand list of sensitive keys
> -----------------------------
>
>                 Key: FLINK-30443
>                 URL: https://issues.apache.org/jira/browse/FLINK-30443
>             Project: Flink
>          Issue Type: Improvement
>          Components: API / Core
>            Reporter: Gunnar Morling
>            Priority: Major
>
> In {{{}GlobalConfiguration{}}}, there is [a list of known configuration 
> keys|https://github.com/apache/flink/blob/master/flink-core/src/main/java/org/apache/flink/configuration/GlobalConfiguration.java#L47-L48]
>  whose values will be masked in log output. In our Flink deployment there's a 
> few more keys which we would like to mask, specifically, the following ones:
> * "auth-params"
> * "service-key"
> * "token"
> * "basic-auth"
> * "jaas.config"
> While those are somewhat use-case specific, I feel they are generic enough 
> for being added to that list, and there already is precedence in form of 
> "fs.azure.account.key". In that light, I don't think it's worth making this 
> somehow pluggable, but I'm curious what other folks here think. Thanks!
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to