[
https://issues.apache.org/jira/browse/CAMEL-27480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-27480.
---------------------------------
Resolution: Fixed
Done in https://github.com/apache/camel/pull/30686 (merged as 9356a970e2cf) for
4.24.0.
_Claude Code on behalf of davsclaus_
> camel-opensearch - add an apiKey option to log in with an OpenSearch API key
> ----------------------------------------------------------------------------
>
> Key: CAMEL-27480
> URL: https://issues.apache.org/jira/browse/CAMEL-27480
> Project: Camel
> Issue Type: New Feature
> Components: camel-opensearch
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 4.24.0
>
>
> Today camel-opensearch only supports basic authentication (user/password),
> plus certificatePath and sslContextParameters for TLS. OpenSearch 3.7 added
> API keys to the Security plugin, sent as {{Authorization: ApiKey os_...}}.
> Add an {{apiKey}} component option (label security, secret), sent as is:
> * the header is sent only to the cluster nodes (hostAddresses and the nodes
> the sniffer finds), never to a redirect target, the same way the basic
> authentication credentials are scoped since CAMEL-25708
> * setting both {{apiKey}} and {{user}} fails at startup with a clear message
> * a client set with the {{client}} option is not changed
> Same option as the camel-elasticsearch one.
> _Claude Code on behalf of davsclaus_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)