How to store service account file into embedded ES keystore?

We are using embedded ES (version 5.6) and am exploring the snapshot & restore options with GCS as snapshot repository. The repository-gcs plugin expects that the service account JSON file must be added into the elasticsearch keystore .

ES doc explains the way to add service account JSON file through the CLI tool ( bin/elasticsearch-keystore ), but I couldn't find this CLI tool since we are using embedded ES (added the ES jar into our lib).

Is it possible to add the service account programmatically to ES keystore?

We don't support 5.6 anymore sorry, nor do we support embedded instances.

I would suggest it is unlikely you will get a solution to this because of those points.

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