v.21.3Improvement
Access Management Setting Configurable at Startup in ClickHouse
The settingaccess_managementis now configurable on startup by providingCLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT, defaults to disabled (0) which was the prior value. #20139 (Marquitos).
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 variableCLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT to 1 (enable) or 0 (disable) before launching ClickHouse. For example:export CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT=1
clickhouse-server