[FEATURE] Support additional params in SecureTransportSettingsProvider to enable building of SslContext outside of security plugin #5011
Labels
enhancement
New feature or request
untriaged
Require the attention of the repository maintainers and may need to be prioritized
Is your feature request related to a problem?
The netty's
io.netty.handler.ssl.SslContext
is needed by Flight server being introduced in opensearch-project/OpenSearch#16962. Today, it cannot be built outside of security plugin asSecureTransportSettingsProvider
doesn't expose it.What solution would you like?
Provide a way for consumers of
SecureTransportSettingsProvider
to buildSslContext
.Since its a netty dependency which we don't want to add to server module thus we cannot build it in security plugin and expose it using
SecureTransportSettingsProvider
. Instead, expose all parameters needed to buildSslContext
to its consumer (plugins & modules) to build it directly.What alternatives have you considered?
A clear and concise description of any alternative solutions or features you've considered.
Do you have any additional context?
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: