Get Active Directory configuration
Retrieves a single Active Directory security realm configuration.
Path parameters
-
The Elasticsearch Security realm identifier.
GET /platform/configuration/security/realms/active-directory/{realm_id}
curl \
-X GET https://{{hostname}}/api/v1/platform/configuration/security/realms/active-directory/{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",
"urls": [
"string"
],
"domain_name": "string",
"bind_anonymously": true,
"group_search": {
"base_dn": "string",
"scope": "sub_tree"
},
"user_search": {
"base_dn": "string",
"scope": "sub_tree",
"filter": "string"
},
"bind_dn": "string",
"bind_password": "string",
"load_balance": {
"type": "failover",
"cache_ttl": "string"
},
"certificate_url": "string",
"certificate_url_truststore_password": "string",
"certificate_url_truststore_type": "jks",
"role_mappings": {
"default_roles": [
"string"
],
"rules": [
{
"type": "user_dn",
"roles": [
"string"
],
"value": "string"
}
]
},
"enabled": true,
"order": 42,
"override_yaml": "string"
}
Response examples (404)
# Headers
x-cloud-error-codes: security_realm.not_found
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}