# Hide "Secure your data for free with Elastic" message programatically

**URL:** <https://discuss.elastic.co/t/hide-secure-your-data-for-free-with-elastic-message-programatically/258917>\
**Category:** Kibana\
**Tags:** elastic-stack-security\
**Created:** [December 16, 2020, 9:50pm UTC](https://discuss.elastic.co/t/hide-secure-your-data-for-free-with-elastic-message-programatically/258917 "2020-12-16T21:50:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tlacuache](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tlacuache/32/39003_2.png) [@tlacuache](https://discuss.elastic.co/u/tlacuache)\
**Post date:** [December 16, 2020, 9:50pm UTC](https://discuss.elastic.co/t/hide-secure-your-data-for-free-with-elastic-message-programatically/258917/1 "2020-12-16T21:50:19Z")

</div>

When logging onto Kibana for the first time, I get a message "Your data is not secure. Don't lose one bit. Secure your data for free with Elastic."

See [PR 80344](https://github.com/elastic/kibana/pull/80344) and [issue 80161](https://github.com/elastic/kibana/pull/80344).

I'm maintaining a project that uses elasticsearch and uses third party tools to handle the security features (authentication, encryption, etc.) instead of the elasticsearch security plugin. I don't want this message to display to my users. How can I, either through the Kibana API or through manually writing a document to the .kibana index or the like, prevent this message from ever showing up?

---

<div class="post-metadata">

**Author:** ![Mikhail\_Shustov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikhail_shustov/32/49186_2.png) [@Mikhail\_Shustov](https://discuss.elastic.co/u/Mikhail_Shustov)\
**Post date:** [December 17, 2020, 10:49am UTC](https://discuss.elastic.co/t/hide-secure-your-data-for-free-with-elastic-message-programatically/258917/2 "2020-12-17T10:49:13Z")

</div>

Hi!  
I can't see it's documented, but according to PR [https://github.com/elastic/kibana/pull/78545](https://github.com/elastic/kibana/pull/78545), you can disable it via the `kibana.yml` config file:

```auto
security.showInsecureClusterWarning: false

```

---

<div class="post-metadata">

**Author:** ![tlacuache](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tlacuache/32/39003_2.png) [@tlacuache](https://discuss.elastic.co/u/tlacuache)\
**Post date:** [December 17, 2020, 2:11pm UTC](https://discuss.elastic.co/t/hide-secure-your-data-for-free-with-elastic-message-programatically/258917/3 "2020-12-17T14:11:25Z")

</div>

Thank you so much, I will give that try.

---

<div class="post-metadata">

**Author:** ![tlacuache](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tlacuache/32/39003_2.png) [@tlacuache](https://discuss.elastic.co/u/tlacuache)\
**Post date:** [December 17, 2020, 2:31pm UTC](https://discuss.elastic.co/t/hide-secure-your-data-for-free-with-elastic-message-programatically/258917/4 "2020-12-17T14:31:06Z")

</div>

It looks like that did the trick. Thanks again.

---

<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:** [January 14, 2021, 2:31pm UTC](https://discuss.elastic.co/t/hide-secure-your-data-for-free-with-elastic-message-programatically/258917/5 "2021-01-14T14:31:16Z")

</div>

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