Hi, Viktor

We cannot hide "$internal.application.program-args" currently. Only
configuration options whose key contains "SENSITIVE_KEYS" will be hidden.

So, as an alternative, you might want to try passing some hidden
information through the environment variable[1], and name it
with  "SENSITIVE_KEYS" , such as: containerized.master.env.password=xxx

[1]
https://nightlies.apache.org/flink/flink-docs-master/docs/deployment/config/#forwarding-environment-variables

Best,
Weihua


On Thu, Apr 20, 2023 at 9:47 AM Shammon FY <zjur...@gmail.com> wrote:

> Hi Viktor
>
> If you can change your option name contains any following specific
> keywords, the flink web ui will hidden the value
>
>     // the keys whose values should be hidden
>     private static final String[] SENSITIVE_KEYS =
>             new String[] {
>                 "password",
>                 "secret",
>                 "fs.azure.account.key",
>                 "apikey",
>                 "auth-params",
>                 "service-key",
>                 "token",
>                 "basic-auth",
>                 "jaas.config"
>             };
>
> Best,
> Shammon FY
>
>
> On Wed, Apr 19, 2023 at 10:47 PM Viktor Borisov <
> victor.d.bori...@gmail.com> wrote:
>
>> Hi, community!
>>
>> Is there a way to filter what options are displayed in Web UI under the
>> Job Manager -> Configuration tab? Specifically, I need to hide
>> "$internal.application.program-args". This option is displayed when running
>> an Application Cluster in Kubernetes.
>>
>> I use Flink 1.15.
>>
>> Best regards,
>>
>> Viktor
>
>

Reply via email to