Skip to content

[Task Manager] Add xpack.task_manager.api_key_type config#254827

Open
ersin-erdal wants to merge 6 commits intoelastic:mainfrom
ersin-erdal:api-key-type-config-tm
Open

[Task Manager] Add xpack.task_manager.api_key_type config#254827
ersin-erdal wants to merge 6 commits intoelastic:mainfrom
ersin-erdal:api-key-type-config-tm

Conversation

@ersin-erdal
Copy link
Contributor

Add a new config that allows us to switch between UIAM API keys and ES API keys in Task Manager.

@ersin-erdal ersin-erdal requested review from a team as code owners February 24, 2026 22:28
@ersin-erdal ersin-erdal added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting Team:ResponseOps Platform ResponseOps team (formerly the Cases and Alerting teams) t// labels Feb 24, 2026
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@github-actions
Copy link
Contributor

github-actions bot commented Feb 24, 2026

🔍 Preview links for changed docs

Copy link
Contributor

@pmuellr pmuellr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Jest Tests #7 / EndpointScriptEditForm Editing should show file required validation error when fake file picker is removed (and no file is uploaded)
  • [job] [logs] Scout: [ observability / observability ] plugin / local-stateful-classic - Rule Details Page - Admin - should display dashboard options in related dashboards dropdown when editing rule
  • [job] [logs] FTR Configs #113 / Package policies Package Policy - update Input Packages should install index templates when upgrading from input package to integration package

Metrics [docs]

✅ unchanged

History

Copy link
Contributor

@nastasha-solomon nastasha-solomon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some minor fixes. Otherwise, lgtm!

: :::{admonition} Deprecated in 8.16.0
This setting was deprecated in 8.16.0.
:::
: :::{admonition} Deprecated in 8.16.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added the applies_to tag above so you don't need this note anymore.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed

## Task Manager settings [task-manager-settings]

`xpack.task_manager.api_key_type`
: The API key type to use for task execution. The default value, corresponding to the existing behavior, is `es`, which uses an Elasticsearch API key. Set this to `uiam` to use UIAM API keys instead.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could be wrong, but I'm fairly certain UIAM is an internal term only. @shainaraskas do you happen to know the official term?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be Universal API Key

ersin-erdal and others added 3 commits February 25, 2026 16:28
Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>
Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>
Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Platform ResponseOps team (formerly the Cases and Alerting teams) t//

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants