Skip to content

Add ingest application API key examples for Managed Inputs#6152

Open
alexandra5000 wants to merge 2 commits intoelastic:mainfrom
alexandra5000:ingest-api-key-examples
Open

Add ingest application API key examples for Managed Inputs#6152
alexandra5000 wants to merge 2 commits intoelastic:mainfrom
alexandra5000:ingest-api-key-examples

Conversation

@alexandra5000
Copy link
Copy Markdown

@alexandra5000 alexandra5000 commented Mar 26, 2026

Summary

  • Adds a create_api_key request example showing how to create an ingest application API key scoped to a named Managed Inputs pipeline (pipeline:.fleet_agent_policy_1)
  • Adds the corresponding response example
  • Adds a has_privileges request example showing the privilege check the Managed OTLP (mOTLP) endpoint performs to authorize client keys
  • I've also updated the mOTLP docs in the opentelemetry repo in this PR.

Context

Managed Inputs (mOTLP) is introducing a new ingest application privilege to replace the legacy apm application privilege. The new privilege supports pipeline-scoped authorization, allowing API keys to be restricted to specific pipelines (for example, Fleet agent policy pipelines). See elastic/ingest-dev#6488 and elastic/hosted-otel-collector#1231.

relates to #6489

Adds request/response examples for creating an `ingest` application
API key scoped to a Managed Inputs pipeline, and a has_privileges example
showing the check mOTLP performs to authorize client keys.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@alexandra5000 alexandra5000 marked this pull request as draft March 26, 2026 15:24
@alexandra5000 alexandra5000 added the skip-backport This pull request should not be backported label Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-backport This pull request should not be backported specification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant