Add ingest application API key examples for Managed Inputs#6152
Open
alexandra5000 wants to merge 2 commits intoelastic:mainfrom
Open
Add ingest application API key examples for Managed Inputs#6152alexandra5000 wants to merge 2 commits intoelastic:mainfrom
alexandra5000 wants to merge 2 commits intoelastic:mainfrom
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
create_api_keyrequest example showing how to create aningestapplication API key scoped to a named Managed Inputs pipeline (pipeline:.fleet_agent_policy_1)has_privilegesrequest example showing the privilege check the Managed OTLP (mOTLP) endpoint performs to authorize client keysopentelemetryrepo in this PR.Context
Managed Inputs (mOTLP) is introducing a new
ingestapplication privilege to replace the legacyapmapplication 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