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

 root@elk# /usr/share/kibana/bin/kibana-encryption-keys generate

Then go to root@elk# /etc/kibana/kibana.yml

## 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
<https://www.elastic.co/guide/en/kibana/current/security-settings-kb.html#security-session-and-cookie-settings>

Already defined settings are ignored and can be regenerated using the --force flag. Check the documentation links for instructions on how to rotate encryption keys.
Definitions should be set in the kibana.yml used configure Kibana.

#Settings:
xpack.encryptedSavedObjects.encryptionKey: 578ba541dfsf2f8eda884ce
xpack.reporting.encryptionKey: fddb0ac6bbdfaa7ab2610c25
xpack.security.encryptionKey: e7023bc6dfbbdd65633c6

Comments