You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Do not print secrets such as registration secret and router password to console on selenium grid hub and router startup (#2359)
* fix: mask secret info from bash logs
Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
---------
Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
Co-authored-by: Florian Rudisch <frudisch@users.noreply.github.com>
@@ -1208,6 +1209,14 @@ running longer than 1 hour (instead of 2 hours), and will remove temp files olde
1208
1209
1209
1210
---
1210
1211
1212
+
## Mask sensitive information in console logs
1213
+
1214
+
Few variables output like password, secret, etc. are masked in console logs. For debugging purposes, you can disable it by setting `SE_MASK_SECRETS` to `false`
1215
+
1216
+
While creating bash script, your can mask the output by using syntax `echo "Current value is $(mask ${YOUR_VARIABLE})`
1217
+
1218
+
`SE_MASK_SECRETS_MIN_LENGTH` default is `3`. It means a long string will be masked to `***` to avoid exposing length for brute force attack.
1219
+
1211
1220
## Secure connection
1212
1221
1213
1222
By default, there are default self-signed certificates available in the image in location `/opt/selenium/secrets` includes
0 commit comments