[Feature Request] <Decouple the use of CryptoPlugin and CryptoKeyProviderPlugin> #12472
Labels
discuss
Issues intended to help drive brainstorming and decision making
enhancement
Enhancement or improvement to existing feature or request
help wanted
Extra attention is needed
Plugins
Is your feature request related to a problem? Please describe
crypto-kms plugin is a
CryptoKeyProviderPlugin
which currently fails to load on server startup even after being successfully installed. This happens because theCryptoHandlerRegistry
would not load aCryptoKeyProviderPlugin
without aCryptoPlugin
present even though noCryptoPlugin
implementation exists yet.Describe the solution you'd like
The use of a
CryptoKeyProviderPlugin
should be decoupled from aCryptoPlugin
; at least Opensearch should be able to load one plugin without the other. This can be easily achieved by modifying the logic inCryptoHandlerRegistry
constructor that disallows thisRelated component
Plugins
Describe alternatives you've considered
No response
Additional context
This proposed plugin (#12451, #12902) relies on a
CryptoKeyProviderPlugin
for managing keys and will not work without this featureThe text was updated successfully, but these errors were encountered: