v.20.5Improvement
Clear Password from Command Line in ClickHouse Client and Benchmark
Clear password from command line inclickhouse-clientandclickhouse-benchmarkif the user has specified it with explicit value. This prevents password exposure bypsand similar tools. #11665 (alexey-milovidov).
Why it matters
This feature enhances security by removing sensitive password information from the process command line, protecting user credentials from being visible to other users or processes on the same system through standard process inspection utilities.How to use it
Users simply specify the password explicitly when runningclickhouse-client or clickhouse-benchmark; the clients will automatically clear the password from the command line after reading it, requiring no additional configuration.