xpack.security.authc.realms.native.native1:
  order: 0
  cache.ttl: 20m  # 用户实体的缓存时长,默认是20min
  cache.max_users: 100000 # 任一时间可以存在缓存中的用户数量,默认是100000
  cache.hash_algo: ssha256 # 缓存中用户认证的算法,默认是ssha256
  authentication.enabled: true # 如果设置为false,在此realm中将禁用认证,只支持user lookups。默认是true。


  • No labels