File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
docs/modules/configuration/pages Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -29,3 +29,19 @@ You can use the `JAVA_OPTS` also to pass additional properties to Hazelcast:
29
29
----
30
30
JAVA_OPTS=-Dhazelcast.operation.thread.count=4 bin/jet-start
31
31
----
32
+
33
+ To mask sensitive data in logs passed via `JAVA_OPTS` , use the `maskOpts` parameter.
34
+ `maskOpts` should contain a comma-separated list of option keys to mask.
35
+ This parameter must be included within `JAVA_OPTS` .
36
+
37
+ Usage example:
38
+ [source,bash]
39
+ ----
40
+ JAVA_OPTS="-Djavax.net.ssl.keyStorePassword=keypassword -Djavax.net.ssl.trustStorePassword=trustpassword -DmaskOpts=javax.net.ssl.keyStorePassword,javax.net.ssl.trustStorePassword"
41
+ ----
42
+ This will produce logs like:
43
+
44
+ [source,bash]
45
+ ----
46
+ ... -Djavax.net.ssl.keyStorePassword=**** -Djavax.net.ssl.trustStorePassword=***
47
+ ----
You can’t perform that action at this time.
0 commit comments