Elastic Stack (ELK Stack) Platform Configuration Security API

The PlatformConfigurationSecurity API from Elastic Stack (ELK Stack) — 12 operation(s) for platformconfigurationsecurity.

GitHub OpenAPI
Business capability
Identity & Access Management BC-620.20

Operations 22

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /platform/configuration/security/deployment View the platform security deployment · Get current security deployment #
Ask an LLM
“What does the current security deployment for my Elastic Cloud Enterprise platform look like?”
“Is a security deployment already set up on this installation?”
Tell an agent
Show the current security deployment.
Get the platform's security deployment configuration.
POST /platform/configuration/security/deployment Create the platform security deployment · Create security deployment #
Ask an LLM
“How do I set up a security deployment for the first time on my platform?”
“What name and version can I give a new security deployment?”
Tell an agent
Create a security deployment named {name}.
Set up a new security deployment {name} on version {version}.
PUT /platform/configuration/security/deployment Update the platform security deployment · Update security deployment #
Ask an LLM
“Can I change the version or topology of the existing security deployment?”
“How do I resize the security deployment that backs platform authentication?”
Tell an agent
Update the security deployment to version {version}.
Change the existing security deployment topology to {topology}.
GET /platform/configuration/security/enrollment-tokens List active enrollment tokens · Get enrollment tokens #
Ask an LLM
“Which enrollment tokens are currently active for adding hosts to the platform?”
“Can I review all outstanding runner enrollment tokens?”
Tell an agent
List all active enrollment tokens.
Show outstanding enrollment tokens for new hosts.
POST /platform/configuration/security/enrollment-tokens Create an enrollment token · Create enrollment token #
Ask an LLM
“How do I generate a token so a new host can join my installation with certain roles?”
“Can an enrollment token expire after a set number of seconds, or be persistent?”
Tell an agent
Create an enrollment token with persistent set to {persistent}.
Generate an enrollment token for roles {roles} valid for {validity_in_seconds} seconds, persistent {persistent}.
DELETE /platform/configuration/security/enrollment-tokens/{token} Revoke an enrollment token · Delete enrollment token #
Ask an LLM
“How can I revoke an enrollment token that leaked?”
“Does deleting an enrollment token stop it from being used immediately?”
Tell an agent destructive · confirm first
Revoke enrollment token {token}.
Delete the enrollment token {token} so no more hosts can use it.
GET /platform/configuration/security/realms List security realm configurations · List security realm configurations #
Ask an LLM
“Which authentication realms, like LDAP, SAML or Active Directory, are configured?”
“In what order are my security realms evaluated?”
Tell an agent
List every configured security realm.
Show all realm configurations across LDAP, SAML and Active Directory.
POST /platform/configuration/security/realms/_reorder Reorder security realms · Reorder security realms #
Ask an LLM
“Can I change which authentication realm is tried first?”
“How is the evaluation order of security realms set?”
Tell an agent
Reorder the security realms to {realms}.
Set realm evaluation order as {realms}.
POST /platform/configuration/security/realms/active-directory Add an Active Directory realm · Create Active Directory configuration #
Ask an LLM
“How do I let users sign in to the platform with Active Directory?”
“Can an Active Directory realm bind anonymously instead of with a bind DN?”
Tell an agent
Create Active Directory realm {id} named {name} for domain {domain_name} at {urls}, bind anonymously {bind_anonymously}.
Add an AD realm {id} called {name} on domain {domain_name}, servers {urls}, anonymous bind {bind_anonymously}, bind DN {bind_dn}.
GET /platform/configuration/security/realms/active-directory/{realm_id} Get an Active Directory realm · Get Active Directory configuration #
Ask an LLM
“What domain and server URLs does one Active Directory realm use?”
“Can I view the role mappings on an Active Directory realm?”
Tell an agent
Show Active Directory realm {realm_id}.
Get the AD configuration for realm {realm_id}.
PUT /platform/configuration/security/realms/active-directory/{realm_id} Update an Active Directory realm · Update Active Directory configuration #
Ask an LLM
“How do I change the domain controllers an existing Active Directory realm points at?”
“Can I disable an Active Directory realm without deleting it?”
Tell an agent
Update AD realm {realm_id}: id {id}, name {name}, domain {domain_name}, URLs {urls}, anonymous bind {bind_anonymously}.
Set enabled {enabled} on Active Directory realm {realm_id} ({id}, {name}, {domain_name}, {urls}, bind anonymously {bind_anonymously}).
DELETE /platform/configuration/security/realms/active-directory/{realm_id} Delete an Active Directory realm · Delete Active Directory configuration #
Ask an LLM
“Can I remove an Active Directory login realm from the platform?”
“Do I need a version number to safely delete an AD realm?”
Tell an agent destructive · confirm first
Delete Active Directory realm {realm_id}.
Remove AD realm {realm_id} at version {version}.
POST /platform/configuration/security/realms/ldap Add an LDAP realm · Create LDAP configuration #
Ask an LLM
“How do I connect platform login to our LDAP directory?”
“Can an LDAP realm use user DN templates instead of searching for users?”
Tell an agent
Create LDAP realm {id} named {name} at {urls}, bind type {bind_type}, anonymous bind {bind_anonymously}.
Add LDAP realm {id} ({name}) on {urls} with bind type {bind_type}, anonymous {bind_anonymously}, DN templates {user_dn_templates}.
GET /platform/configuration/security/realms/ldap/{realm_id} Get an LDAP realm · Get LDAP configuration #
Ask an LLM
“What LDAP servers and group search settings does a given realm use?”
“Can I inspect a single LDAP realm's configuration?”
Tell an agent
Show LDAP realm {realm_id}.
Get the LDAP configuration of realm {realm_id}.
PUT /platform/configuration/security/realms/ldap/{realm_id} Update an LDAP realm · Update LDAP configuration #
Ask an LLM
“How do I change the bind credentials or servers of an existing LDAP realm?”
“Can I update the group attribute an LDAP realm maps roles from?”
Tell an agent
Update LDAP realm {realm_id}: id {id}, name {name}, URLs {urls}, bind type {bind_type}, anonymous {bind_anonymously}.
Change group attribute to {user_group_attribute} on LDAP realm {realm_id} ({id}, {name}, {urls}, {bind_type}, anon {bind_anonymously}).
DELETE /platform/configuration/security/realms/ldap/{realm_id} Delete an LDAP realm · Delete LDAP configuration #
Ask an LLM
“Can I remove an LDAP realm we no longer use for sign-in?”
“Is a version check supported when deleting an LDAP realm?”
Tell an agent destructive · confirm first
Delete LDAP realm {realm_id}.
Remove LDAP realm {realm_id} at version {version}.
POST /platform/configuration/security/realms/saml Add a SAML realm · Create SAML configuration #
Ask an LLM
“How do I enable single sign-on to the platform through a SAML identity provider?”
“Can a SAML realm force re-authentication or sign its SAML messages?”
Tell an agent
Create SAML realm {id} named {name} with IdP {idp}, SP {sp} and attributes {attributes}.
Add SAML SSO realm {id} ({name}) using IdP {idp}, service provider {sp}, attribute mapping {attributes}, force_authn {force_authn}.
GET /platform/configuration/security/realms/saml/{realm_id} Get a SAML realm · Get SAML configuration #
Ask an LLM
“What identity provider and attribute mappings does a given SAML realm use?”
“Can I check a single SAML realm's settings?”
Tell an agent
Show SAML realm {realm_id}.
Get the SAML configuration for realm {realm_id}.
PUT /platform/configuration/security/realms/saml/{realm_id} Update a SAML realm · Update SAML configuration #
Ask an LLM
“How do I update the identity provider metadata on an existing SAML realm?”
“Can I change role mappings on a SAML realm I already configured?”
Tell an agent
Update SAML realm {realm_id}: id {id}, name {name}, IdP {idp}, SP {sp}, attributes {attributes}.
Set role mappings {role_mappings} on SAML realm {realm_id} ({id}, {name}, {idp}, {sp}, {attributes}).
DELETE /platform/configuration/security/realms/saml/{realm_id} Delete a SAML realm · Delete SAML configuration #
Ask an LLM
“Can I remove a SAML single sign-on realm from the platform?”
“What version do I pass when deleting a SAML realm?”
Tell an agent destructive · confirm first
Delete SAML realm {realm_id}.
Remove SAML realm {realm_id} at version {version}.
GET /platform/configuration/security/tls/{service_name} Get a service's TLS certificate chain · Get TLS certificate #
Ask an LLM
“Which TLS certificate is the platform's proxy or admin console serving?”
“Can I check the certificate chain installed for a platform service?”
Tell an agent
Show the TLS certificate for service {service_name}.
Get the certificate chain in use by {service_name}.
POST /platform/configuration/security/tls/{service_name} Set a service's TLS certificate chain · Set TLS certificate #
Ask an LLM
“How do I install a new TLS certificate for a platform service?”
“Can I replace an expiring certificate chain on the proxy?”
Tell an agent
Upload a new TLS certificate chain for service {service_name}.
Replace the certificate on {service_name} with this chain.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/elk-stack:elk-stack-platformconfigurationsecurity-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

elk-stack-platformconfigurationsecurity-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '1'
  title: Elastic Cloud Enterprise Platform Configuration Security API
  termsOfService: ''
servers:
- url: https://{{hostname}}/api/v1
security:
- basicAuth: []
- apiKey: []
tags:


# --- truncated at 32 KB (77 KB total) ---
# Full source: https://artifacts.apis.io/elk-stack/openapi/elk-stack-platformconfigurationsecurity-api-openapi.yml