Member-only story

Elasticsearch Unable to create actions client because the Encrypted Saved Objects plugin is missing encryption key

HKN MZ
2 min readJun 12, 2022

--

Yesterday, I obtained the this error on Kibana

Unable to create actions client because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command

Error fetching data

Here is the solution:

Generate encryptionKey for xpack reporting, security and encryptedSavedObjects using kibana-encryption-keys tool

root@elk# /usr/share/kibana/bin/kibana-encryption-keys generate
## Kibana Encryption Key Generation Utility

The 'generate' command guides you through the process of setting encryption keys for:

xpack.encryptedSavedObjects.encryptionKey
Used to encrypt stored objects such as dashboards and visualizations
<https://www.elastic.co/guide/en/kibana/current/xpack-security-secure-saved-objects.html#xpack-security-secure-saved-objects>

xpack.reporting.encryptionKey
Used to encrypt saved reports
<https://www.elastic.co/guide/en/kibana/current/reporting-settings-kb.html#general-reporting-settings>

xpack.security.encryptionKey
Used to encrypt session information

--

--

HKN MZ
HKN MZ

Written by HKN MZ

I am writing about Sql Server, Elasticsearch and Python. İ am an Database Administrator on SQL Server and Elasticsearch more than 5+ years.

No responses yet

Write a response