---
type: api
title: List security realm configurations
description: Retrieves a list of security realm configurations.
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/cloud-enterprise/operation/operation-get-security-realm-configurations
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/cloud-enterprise/operation/operation-get-security-realm-configurations
products:
  - Elastic Cloud Enterprise
---

# List security realm configurations

## Paths

- `GET` `/platform/configuration/security/realms`

- [Basic auth](/elastic/docs-builder/docs/4371/api/doc/cloud-enterprise/authentication#basicauth)
- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/cloud-enterprise/authentication#apikey)

## Description

Retrieves a list of security realm configurations.

## Response

The security realm configurations were successfully returned

`application/json`

- `realms` ([] SecurityRealmInfo)
  The list of security realms
  - `id` (string)
    The identifier for the security realm
  - `name` (string)
    The friendly name of the security realm
  - `type` (enum)
    The type of the security realm
    Values: `native`, `ldap`, `saml`, `active_directory`
  - `enabled` (boolean)
    True if the security realm is enabled
  - `order` (integer)
    The order the security realm should be evaluated
  - `urls` ([] string)
    The URLs associated with the security realm
## Code Examples

#### Console

```console
GET /platform/configuration/security/realms
```

#### curl

```curl
curl -X GET "/platform/configuration/security/realms"
```

