Get SAML configuration
- GET /platform/configuration/security/realms/saml/{realm_id}
Retrieves a single SAML security realm configuration.
Responses
The SAML configuration was successfully retrieved
-
idpobjectrequired -
The configuration for the Elasticsearch security SAML Identity Provider.
-
nameid_formatstring -
The NameID format. If not specified the IdP default is used. Example: 'urn:oasis:names:tc:SAML:2.0:nameid-format:persistent'
-
force_authnboolean -
Specifies whether to set the ForceAuthn attribute when requesting that the IdP authenticate the current user. If set to true, the IdP is required to verify the user's identity, irrespective of any existing sessions they might have.
-
signing_certificate_urlstring -
The SAML signing certificate bundle URL. The bundle should be a zip file containing 'signing.key' and 'signing.pem' files in the directory '/saml/:id', where :id is the value of the [id] field.
-
signing_saml_messagesstring -
A list of SAML message types that should be signed. Each element in the list should be the local name of a SAML XML Element. Supported element types are AuthnRequest, LogoutRequest and LogoutResponse. Only valid if a signing certificate is also specified.
-
encryption_certificate_urlstring -
The SAML encryption certificate bundle URL. The bundle should be a zip file containing 'encryption.key' and 'encryption.pem' files in the directory '/saml/:id', where :id is the value of the [id] field.
-
ssl_certificate_urlstring -
The SSL trusted CA certificate bundle URL. The bundle should be a zip file containing a single keystore file 'keystore.ks' Note that all keys should omit the 'xpack.security.authc.realms.saml.{realm_id}' prefix. For example, when the realm ID is set to 'saml1', the advanced configuration 'xpack.security.authc.realms.saml.saml1.ssl.verification_mode: full' should be added as 'ssl.verification_mode: full'.
-
ssl_certificate_url_truststore_passwordstring -
The password to the SSL certificate bundle URL truststore
Response headers
The realm specified by {realm_id} cannot be found. (code: security_realm.not_found)