Cross-cluster search is exactly what it sounds like: it lets any node in a cluster execute search requests across other clusters. The Security plugin supports cross-cluster search out of the box.
When accessing a remote cluster from a coordinating cluster using cross-cluster search:
- The Security plugin authenticates the user on the coordinating cluster.
- The Security plugin fetches the users backend roles on the coordinating cluster.
- The call including the authenticated user is forwarded to the remote cluster.
- The user’s permissions are evaluated on the remote cluster.
While you can have different authentication and authorization configurations on the remote and coordinating cluster, we recommend using the same settings on both.
To query indices on remote clusters, users need to have the following permissions for the index, in addition to
humanresources: cluster: - CLUSTER_COMPOSITE_OPS_RO indices: 'humanresources': '*': - READ - indices:admin/shards/search_shards # needed for CCS