Package io.smallrye.config
Interface SecretKeysHandler
-
- All Known Implementing Classes:
SecretKeysHandlerFactory.LazySecretKeysHandler
public interface SecretKeysHandlerASecretKeysHandlerprovides a way to decode or decrypt a secret configuration value.A secret configuration value may be expressed as
${handler::value}, where thehandleris the name of theSecretKeysHandlerto use for decode or decryption thevalueseparated by a double colon::.Instances of this interface will be discovered via the
ServiceLoadermechanism and can be registered by providing aMETA-INF/services/io.smallrye.config.SecretKeysHandlerwhich contains the fully qualified class name of the customSecretKeysHandlerimplementation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringdecode(String secret)Decodes the secret configuration value.StringgetName()The name ofSecretKeysHandler.
-