Elasticsearch security use ldap how to config role

hello master ,please help me ,i use the elasticsearch realms ldap ,the elasticsearch.yml like

realms:
ldap:
ldap1:
follow_referrals:false
order: 10
url: "xxxxx"
bind_dn: "xxxx"
bind_pasword: "xxxx"
user_search:
base_dn:"xxx"
attribute:"xxx"
group_search:
base_dn: "xx"
files:
role_mapping: /xxxx/role_mapping.yml
unmapped_groups_as_roles: false

in the role_mapping.yml have one role is estestuser

i want to config the every user role in elasticsearch not cfongi in the file, the user role like
jack ,es_admin
tom, es_user

how can i config it ,please help me.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.