Get SAML configuration
Retrieves a single SAML security realm configuration.
Path parameters
-
The Elasticsearch Security realm identifier.
GET /platform/configuration/security/realms/saml/{realm_id}
curl \
-X GET https://{{hostname}}/api/v1/platform/configuration/security/realms/saml/{realm_id}
Response examples (200)
# Headers
x-cloud-resource-version: string
x-cloud-resource-created: string
x-cloud-resource-last-modified: string
# Payload
{
"id": "string",
"name": "string",
"idp": {
"entity_id": "string",
"metadata_path": "string",
"use_single_logout": true
},
"sp": {
"entity_id": "string",
"acs": "string",
"logout": "string"
},
"attributes": {
"principal": "string",
"groups": "string",
"name": "string",
"mail": "string",
"dn": "string"
},
"nameid_format": "string",
"role_mappings": {
"default_roles": [
"string"
],
"rules": [
{
"type": "username",
"roles": [
"string"
],
"value": "string"
}
]
},
"enabled": true,
"order": 42,
"force_authn": true,
"signing_certificate_url": "string",
"signing_certificate_url_password": "string",
"signing_saml_messages": [
"string"
],
"encryption_certificate_url": "string",
"encryption_certificate_url_password": "string",
"ssl_certificate_url": "string",
"ssl_certificate_url_truststore_password": "string",
"ssl_certificate_url_truststore_type": "jks",
"override_yaml": "string"
}
Response examples (404)
# Headers
x-cloud-error-codes: security_realm.not_found
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}