# Secure ES/Kibana with SAML

**URL:** <https://discuss.elastic.co/t/secure-es-kibana-with-saml/158227>\
**Category:** Kibana\
**Tags:** elastic-stack-security\
**Created:** [November 26, 2018, 5:25pm UTC](https://discuss.elastic.co/t/secure-es-kibana-with-saml/158227 "2018-11-26T17:25:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christophe\_Rosko](https://avatars.discourse-cdn.com/v4/letter/c/ecae2f/32.png) [@Christophe\_Rosko](https://discuss.elastic.co/u/Christophe_Rosko)\
**Post date:** [November 26, 2018, 5:25pm UTC](https://discuss.elastic.co/t/secure-es-kibana-with-saml/158227/1 "2018-11-26T17:25:45Z")

</div>

Hi !

I'm working with a Elastic Cloud cluster (version 6.5.1) and I'd like to secure ES and Kibana with SAML.

To be more specific, I would like to embed a Kibana iframe inside our intranet, and I don't want our clients to have to log twice (intranet and Kibana).  
I want them to log on our intranet and when they access the Kibana iframe, they are directly logged with a ES account linked to their intranet account.

Is that possible with SAML authentication and if yes, how can I do that ?

Thanks for your help !

---

<div class="post-metadata">

**Author:** ![ikakavas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ikakavas/32/34430_2.png) [@ikakavas](https://discuss.elastic.co/u/ikakavas)\
**Post date:** [November 26, 2018, 8:44pm UTC](https://discuss.elastic.co/t/secure-es-kibana-with-saml/158227/2 "2018-11-26T20:44:57Z")

</div>

Hi Christophe,

> [@Christophe\_Rosko](#):
>
> Is that possible with SAML authentication

SAML authentication while Kibana is running in an Iframe is possible, but there are some caveats and considerations that I described in some level of detail in [this post](https://discuss.elastic.co/t/saml-sso-with-wso2-and-kibana/152482/4?) a few weeks back.

> [@Christophe\_Rosko](#):
>
> and if yes, how can I do that ?

The thread above also has additional information on how one would go about doing this. We will be able to help out with specific problems you might encounter down the line. Feel free to also go through our [cloud specific documentation](https://www.elastic.co/guide/en/cloud/current/ec-securing-clusters-SAML.html) as well as the [Elasticsearch SAML Guide](https://www.elastic.co/guide/en/elastic-stack-overview/6.5/saml-guide.html).

---

<div class="post-metadata">

**Author:** ![Christophe\_Rosko](https://avatars.discourse-cdn.com/v4/letter/c/ecae2f/32.png) [@Christophe\_Rosko](https://discuss.elastic.co/u/Christophe_Rosko)\
**Post date:** [November 28, 2018, 4:26pm UTC](https://discuss.elastic.co/t/secure-es-kibana-with-saml/158227/3 "2018-11-28T16:26:12Z")

</div>

Hi ikakavas,

Many thanks for your answer, it makes things clearer for me.  
I'm very new to SAML so i'll need to understand better how this is working but it already helps me 🙂

---

<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:** [December 26, 2018, 4:26pm UTC](https://discuss.elastic.co/t/secure-es-kibana-with-saml/158227/4 "2018-12-26T16:26:13Z")

</div>

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