# Error encrypted key

**URL:** <https://discuss.elastic.co/t/error-encrypted-key/311642>\
**Category:** Kibana\
**Created:** [August 8, 2022, 11:35am UTC](https://discuss.elastic.co/t/error-encrypted-key/311642 "2022-08-08T11:35:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![VitorBarroso](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vitorbarroso/32/99187_2.png) [@VitorBarroso](https://discuss.elastic.co/u/VitorBarroso)\
**Post date:** [August 8, 2022, 11:35am UTC](https://discuss.elastic.co/t/error-encrypted-key/311642/1 "2022-08-08T11:35:09Z")

</div>

![4](https://us1.discourse-cdn.com/elastic/original/3X/5/c/5c68fdea095293a4cc8d29f61830b337bc437647.png)  
where do i get the encryption key?

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [August 8, 2022, 2:35pm UTC](https://discuss.elastic.co/t/error-encrypted-key/311642/2 "2022-08-08T14:35:32Z")

</div>

It is your key... you make it up

> **[Secure saved objects | Kibana Guide \[master\] | Elastic](https://www.elastic.co/guide/en/kibana/master/xpack-security-secure-saved-objects.html)**
>
> A list of the supported authentication mechanisms in Kibana.

Put this in your kibana.yml

`xpack.encryptedSavedObjects.encryptionKey: "min-32-byte-long-strong-encryption-key"`

Just generate any GUID you want and use it that is the encryption key going forward

> **[Generate GUIDs online](https://www.guidgen.com/)**
>
> GuidGen - webbased tool for generating GUIDs.

---

<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:** [September 5, 2022, 2:35pm UTC](https://discuss.elastic.co/t/error-encrypted-key/311642/3 "2022-09-05T14:35:55Z")

</div>

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