Andrea Cosentino created CAMEL-27916:
----------------------------------------

             Summary: camel-hashicorp-vault: accept sslContextParameters on the 
endpoint
                 Key: CAMEL-27916
                 URL: https://issues.apache.org/jira/browse/CAMEL-27916
             Project: Camel
          Issue Type: Improvement
          Components: camel-hashicorp-vault
            Reporter: Andrea Cosentino
            Assignee: Andrea Cosentino
             Fix For: 4.25.0


CAMEL-25675 gave the hashicorp-vault endpoint, the {{hashicorp:}} properties 
function and the secret refresh task their own TLS options: {{trustStore}}, 
{{trustStorePassword}}, {{keyStore}} and {{keyStorePassword}} 
(apache/camel#29619). Most Camel components also accept 
{{SSLContextParameters}} (the JSSE Utility), and the global ones of 
{{camel.ssl}} through {{useGlobalSslContextParameters}}, as asked in the review 
of apache/camel#29619.

Proposal:
* an {{sslContextParameters}} endpoint option, and 
{{useGlobalSslContextParameters}} on the component 
({{SSLContextParametersAware}});
* the cert login takes its client certificate from the key managers of the 
{{SSLContextParameters}} too;
* an endpoint that sets both {{sslContextParameters}} and {{trustStore}} or 
{{keyStore}} fails to start, naming both.

The properties function and the secret refresh task keep their own options 
only: camel-main binds {{camel.ssl}} after the {{camel.vault}} options, so an 
early {{hashicorp:}} placeholder would start the function without them.

_Claude Code on behalf of oscerd_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to