How should a plugin authenticate with X-Pack?

Users of the Couchbase transport plugin have reported the plugin is not compatible with X-Pack security. The plugin performs no special authentication, and interacts directly with the auto-injected org.elasticsearch.client.Client instance and the associated org.elasticsearch.client.IndicesAdminClient.

Here's a stack trace showing the auth failure:

The plugin appears to be acting as the _system user, which apparently does not have sufficient privileges.

What should an Elasticsearch plugin do in order to authenticate properly with X-Pack?


David Nault
Database Connector Developer
Couchbase, Inc.

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