说明
列
name(String) — 用户名。id(UUID) — 用户 ID。storage(String) — 用户存储路径。在 access_control_path 参数中配置。auth_type(Array(Enum8(‘no_password’ = 0, ‘plaintext_password’ = 1, ‘sha256_password’ = 2, ‘double_sha1_password’ = 3, ‘ldap’ = 4, ‘kerberos’ = 5, ‘ssl_certificate’ = 6, ‘bcrypt_password’ = 7, ‘ssh_key’ = 8, ‘http’ = 9, ‘jwt’ = 10, ‘scram_sha256_password’ = 11, ‘no_authentication’ = 12))) — 显示身份验证类型。用户身份验证方式包括:无密码、明文密码、SHA256 编码密码、双重 SHA-1 编码密码或 bcrypt 编码密码。auth_params(Array(String)) — 与 auth_type 对应的 JSON 格式身份验证参数。valid_until(Array(DateTime)) — 用户凭据的到期日期和时间。host_ip(Array(String)) — 允许连接到 ClickHouse server 的主机 IP 地址。host_names(Array(String)) — 允许连接到 ClickHouse server 的主机名。host_names_regexp(Array(String)) — 允许连接到 ClickHouse server 的主机名正则表达式。host_names_like(Array(String)) — 通过 LIKE 谓词设置的允许连接到 ClickHouse server 的主机名。default_roles_all(UInt8) — 表示默认启用该用户的所有已授予角色。default_roles_list(Array(String)) — 默认启用的已授予角色列表。default_roles_except(Array(String)) — 除所列角色外,默认启用的所有已授予角色。grantees_any(UInt8) — 指示拥有任意授权选项的用户是否可将其授予任何人的标志。grantees_list(Array(String)) — 此用户可向其授予授权选项的用户或角色列表。grantees_except(Array(String)) — 禁止此用户向其授予授权选项的用户或角色列表。default_database(String) — 此用户的默认数据库名称。