ElasticSearch角色权限

cluster:monitor/main
indices:admin/get
 
 
如配置一个角色,该角色可以在JDBC中查询test和bort索引来运行SQL
cli_or_drivers_minimal:
  cluster:
    - "cluster:monitor/main"
  indices:
    - names: test
      privileges: [read, "indices:admin/get"]
    - names: bort
      privileges: [read, "indices:admin/get"]
 

猜你喜欢

转载自www.cnblogs.com/gqymy/p/12891234.html