# ElasticSearch Encryption

**URL:** <https://discuss.elastic.co/t/elasticsearch-encryption/204405>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [October 21, 2019, 7:08am UTC](https://discuss.elastic.co/t/elasticsearch-encryption/204405 "2019-10-21T07:08:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kailash\_Karki](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kailash_karki/32/56234_2.png) [@Kailash\_Karki](https://discuss.elastic.co/u/Kailash_Karki)\
**Post date:** [October 21, 2019, 7:08am UTC](https://discuss.elastic.co/t/elasticsearch-encryption/204405/1 "2019-10-21T07:08:18Z")

</div>

Hi,  
I am new to elastic search.  
I want to encrypt all the data that I have saved in indices, my confusion is that, if I encrypt the data will I able to search for data or not? what approach should I follow to encrypt the data and search that?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 21, 2019, 10:10am UTC](https://discuss.elastic.co/t/elasticsearch-encryption/204405/2 "2019-10-21T10:10:32Z")

</div>

No. If you store encrypted data in elasticsearch you won't be able to run a full text search on it.

---

<div class="post-metadata">

**Author:** ![Kailash\_Karki](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kailash_karki/32/56234_2.png) [@Kailash\_Karki](https://discuss.elastic.co/u/Kailash_Karki)\
**Post date:** [October 22, 2019, 10:57am UTC](https://discuss.elastic.co/t/elasticsearch-encryption/204405/3 "2019-10-22T10:57:48Z")

</div>

Thanks for your quick reply.  
Do you have any idea if I use AWS KMS for elastic search, will that encrypt my data or they just encrypt disk?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 22, 2019, 12:06pm UTC](https://discuss.elastic.co/t/elasticsearch-encryption/204405/4 "2019-10-22T12:06:24Z")

</div>

Probably the disk.

See also here: [Encryption at rest support in x-pack platinum](https://discuss.elastic.co/t/encryption-at-rest-support-in-x-pack-platinum/100111/2)

---

<div class="post-metadata">

**Author:** ![Kailash\_Karki](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kailash_karki/32/56234_2.png) [@Kailash\_Karki](https://discuss.elastic.co/u/Kailash_Karki)\
**Post date:** [October 23, 2019, 5:50am UTC](https://discuss.elastic.co/t/elasticsearch-encryption/204405/5 "2019-10-23T05:50:52Z")

</div>

Thanks David. 🙂

---

<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:** [November 20, 2019, 5:50am UTC](https://discuss.elastic.co/t/elasticsearch-encryption/204405/6 "2019-11-20T05:50:54Z")

</div>

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