v.21.3Improvement

Access Management Setting Configurable at Startup in ClickHouse

The setting access_management is now configurable on startup by providing CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT, defaults to disabled (0) which was the prior value. #20139 (Marquitos).
The access_management setting in ClickHouse can now be configured at startup using the CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT environment variable, with the default remaining disabled (0).

Why it matters

This feature allows users to enable or disable the access management system at server startup, improving configuration flexibility and control over access management activation without requiring manual setting changes after startup.

How to use it

To enable or disable access management on startup, set the environment variable CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT to 1 (enable) or 0 (disable) before launching ClickHouse. For example:

export CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT=1
clickhouse-server