Files
cheatsheet-tldr/tldr/elasticsearch-saml-metadata
2025-12-20 00:20:53 +00:00

22 lines
647 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/docs/reference/elasticsearch/command-line-tools/saml-metadata>.
- 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]}}`