# Using the xpack.encryptedSavedObjects.encryptionKey for Alerts and Actions in kibana 7.9

**URL:** https://discuss.elastic.co/t/using-the-xpack-encryptedsavedobjects-encryptionkey-for-alerts-and-actions-in-kibana-7-9/248647
**Category:** Kibana
**Tags:** elastic-stack-monitoring, elastic-stack-alerting, docker
**Created:** [September 15, 2020, 9:44am UTC](https://discuss.elastic.co/t/using-the-xpack-encryptedsavedobjects-encryptionkey-for-alerts-and-actions-in-kibana-7-9/248647 "2020-09-15T09:44:20Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![kennedy](https://avatars.discourse-cdn.com/v4/letter/k/c0e974/32.png) [@kennedy](https://discuss.elastic.co/u/kennedy)
#### Post date: [September 15, 2020, 9:44am UTC](https://discuss.elastic.co/t/using-the-xpack-encryptedsavedobjects-encryptionkey-for-alerts-and-actions-in-kibana-7-9/248647/1 "2020-09-15T09:44:20Z")

</div>

Hi,  
I'm using a docker compose file for ELK setup and using the latest 7.9 version for kibana. Now i want to set the xpack.encryptedSavedObjects.encryptionKey parameter in the kibana.yml so that i can use the alert and actions feature. how can i do/set it ? need some help on this

---

<div class="post-metadata">

### Author: ![Funky89](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/funky89/32/75707_2.png) [@Funky89](https://discuss.elastic.co/u/Funky89)
#### Post date: [September 15, 2020, 11:04am UTC](https://discuss.elastic.co/t/using-the-xpack-encryptedsavedobjects-encryptionkey-for-alerts-and-actions-in-kibana-7-9/248647/2 "2020-09-15T11:04:54Z")

</div>

Hi, on your kibana.yml  
Set this :

`xpack.encryptedSavedObjects.encryptionKey: "EePXCifCaykPORwjqKGbINHCPFYnNXZT"`

"EePXCifCaykPORwjqKGbINHCPFYnNXZT" = You need to change this with your encryption key

---

<div class="post-metadata">

### Author: ![kennedy](https://avatars.discourse-cdn.com/v4/letter/k/c0e974/32.png) [@kennedy](https://discuss.elastic.co/u/kennedy)
#### Post date: [September 15, 2020, 12:04pm UTC](https://discuss.elastic.co/t/using-the-xpack-encryptedsavedobjects-encryptionkey-for-alerts-and-actions-in-kibana-7-9/248647/3 "2020-09-15T12:04:39Z")

</div>

Yeah. It worked.  
Thanks

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [October 13, 2020, 12:05pm UTC](https://discuss.elastic.co/t/using-the-xpack-encryptedsavedobjects-encryptionkey-for-alerts-and-actions-in-kibana-7-9/248647/4 "2020-10-13T12:05:03Z")

</div>

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