Files
cheatsheet-tldr/tldr/elasticsearch-saml-metadata
2025-08-10 00:23:53 +00:00

22 lines
645 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# elasticsearch-saml-metadata
> Generate SAML Service Provider metadata for configuring a SAML Identity Provider.
> More information: <https://www.elastic.co/guide/en/elasticsearch/reference/current/saml-metadata.html>.
- Generate SAML metadata for a specific realm and print it to `stdout`:
`elasticsearch-saml-metadata --realm {{realm_name}}`
- Generate SAML metadata and write it to a specific file:
`elasticsearch-saml-metadata --realm {{realm_name}} --out {{path/to/file.xml}}`
- Display help:
`elasticsearch-saml-metadata {{[-h|--help]}}`