v.20.5Improvement

Clear Password from Command Line in ClickHouse Client and Benchmark

Clear password from command line in clickhouse-client and clickhouse-benchmark if the user has specified it with explicit value. This prevents password exposure by ps and similar tools. #11665 (alexey-milovidov).
Clear the password from the command line in clickhouse-client and clickhouse-benchmark when the user specifies it explicitly to prevent password exposure via ps and similar system tools.

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 running clickhouse-client or clickhouse-benchmark; the clients will automatically clear the password from the command line after reading it, requiring no additional configuration.