system.users
包含在服务器上配置的 用户帐户 列表。
列:
-
name
(String) — 用户名。 -
id
(UUID) — 用户ID。 -
storage
(String) — 用户存储的路径。配置在access_control_path
参数中。 -
auth_type
(Enum8('no_password' = 0, 'plaintext_password' = 1, 'sha256_password' = 2, 'double_sha1_password' = 3, 'ldap' = 4, 'kerberos' = 5, 'ssl_certificate' = 6, 'bcrypt_password' = 7)) — 显示身份验证类型。用户识别的方式有多种:无密码、明文密码、SHA256 编码密码、双 SHA-1 编码密码或 bcrypt 编码密码。 -
auth_params
(String) — 根据auth_type
的 JSON 格式的身份验证参数。 -
host_names_regexp
(Array(String)) — 允许连接到 ClickHouse 服务器的主机名称的正则表达式。 -
host_names_like
(Array(String)) — 使用 LIKE 谓词设置的允许连接到 ClickHouse 服务器的主机名称。 -
default_roles_all
(UInt8) — 显示为用户默认设置的所有授予角色。 -
default_roles_except
(Array(String)) — 所有默认设置的授予角色,排除了列出的角色。