-
Couldn't load subscription status.
- Fork 337
Description
Is your feature request related to a problem?
Recently added to core, auxiliary transports are client/server transports which run in parallel to the existing rest api. To implement TLS for these transports they need access to a SecureTransportSettingsProvider as provided by the security plugin.
What solution would you like?
I would propose the security plugin provide a SecureAuxTransportSettingsProvider to be consumed by NetworkPlugins which implement getAuxTransports() and configured with settings distinct from its http counterpart (plugins.security.ssl.aux.pemkey_filepath, ...).
What alternatives have you considered?
Have AuxTransports consume the SecureHttpTransportSettingsProvider. I think it makes sense to create an entirely new SettingsProvider because:
- Users may want to have separate configurations for their rest and aux client/server transports
- Future AuxTransports may not be http based
- SecureHttpTransportSettingsProvider is implicitly a rest based implementation as
HttpServerTransportcontains some rest specific objects.
*This could probably be solved with a small refactor?
Additional context
opensearch-project/OpenSearch#16905
opensearch-project/OpenSearch#16787
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Status