public interface LookupValueProvider extends ConfigurationItem
SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD
Modifier and Type | Method and Description |
---|---|
default boolean |
isHealthy()
Check Lookup Value Provider health
|
java.lang.String |
lookup(java.lang.String key,
boolean password)
Lookup an external value by key.
|
get$internalId, get$securedCi, get$validationMessages, getId, getName, getProperty, getType, hasProperty, setId, setProperty
default boolean isHealthy()
java.lang.String lookup(java.lang.String key, boolean password) throws java.lang.Exception
key
- The key to findpassword
- Whether it is used for a password property.java.lang.Exception
- when the lookup cannot be performed or the provider cannot provide a value, e.g. when a secret is requested for a non password field.