# SAML Elasticsearch

**URL:** <https://discuss.elastic.co/t/saml-elasticsearch/220165>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [February 20, 2020, 11:05am UTC](https://discuss.elastic.co/t/saml-elasticsearch/220165 "2020-02-20T11:05:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vishnu\_mk](https://avatars.discourse-cdn.com/v4/letter/v/71c47a/32.png) [@Vishnu\_mk](https://discuss.elastic.co/u/Vishnu_mk)\
**Post date:** [February 20, 2020, 11:05am UTC](https://discuss.elastic.co/t/saml-elasticsearch/220165/1 "2020-02-20T11:05:43Z")

</div>

Hi,  
Suppose my identity provider does not know what is SAML metadata file or how to generate it . How can i generate SAML metadata file for identity provider.

Also can elasticsearch work as identity provider

---

<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:** [February 20, 2020, 9:35pm UTC](https://discuss.elastic.co/t/saml-elasticsearch/220165/2 "2020-02-20T21:35:24Z")

</div>

> Suppose my identity provider does not know what is SAML metadata file or how to generate it

Honestly, I'd be worried about what else SAML related this SAML IDP doesnt know about. I have never seen a saml IDP that cant generate its own metadata.

> [@Vishnu\_mk](#):
>
> Also can elasticsearch work as identity provider

No. The elastic stack, that is elasticsearch and kibana in this context act as a SAML _Service_ Provider

---

<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:** [February 21, 2020, 7:37am UTC](https://discuss.elastic.co/t/saml-elasticsearch/220165/3 "2020-02-21T07:37:21Z")

</div>

> [@Vishnu\_mk](#):
>
> How can i generate SAML metadata file for identity provider.

You can also try to use an external tool like [SAML Identity Provider (IdP) XML Metadata Builder | SAMLTool.com](https://www.samltool.com/idp_metadata.php) where you input all information for your IdP, if you have that, and it would build your metadata

---

<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:** [March 20, 2020, 7:37am UTC](https://discuss.elastic.co/t/saml-elasticsearch/220165/4 "2020-03-20T07:37:29Z")

</div>

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