Member-only story
Elasticsearch Unable to create actions client because the Encrypted Saved Objects plugin is missing encryption key
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

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…