Interface ValueEncryptionPlugin
- All Superinterfaces:
Plugin
Encrypts a sensitive configuration parameter value.
-
Method Summary
-
Method Details
-
isEnabled
boolean isEnabled()When a value needs to be encrypted, the first enabled encryption plugin is used. Via this method plugin implementations can report whether they are configured properly and can be used.- Returns:
- true if Encryption plugin is configured properly.
-
encrypt
Encrypt value.- Parameters:
parameterName- Parameter namevalue- Unencrypted valuecontext- Context- Returns:
- Encrypted value.
- Throws:
UnsupportedOperationException- when the plugin is not enabled.
-