6.4.6.5 LDAP user authentication
# X-Pack ldap auth
xpack:
security:
authc:
realms:
native:
type: native
order: 0
ldap1:
type: ldap
order: 1
url: "ldaps://ldap.example.net:636"
ssl:
certificate_authorities: [ "/etc/elasticsearch/certs/wildcard.example.net.crt" ]
user_search:
base_dn: "ou=stuff,dc=example,dc=net"
attribute: uid
group_search:
base_dn: "ou=Group,dc=example,dc=net"
filter: "(&(objectClass=posixGroup)(memberUid={0}))"
user_attribute: "uid"
files:
role_mapping: "role_mapping.yml"
unmapped_groups_as_roles: falseApi方式查询ES中的角色
创建角色
查询角色
给用户绑定角色
查询用户_角色绑定映射关系
查询用户信息
最后更新于