Interface LookupValueProvider

All Superinterfaces:
ConfigurationItem, Serializable
All Known Implementing Classes:
SimpleLookupValueProvider

public interface LookupValueProvider extends ConfigurationItem
CI that can be used to lookup external values.
  • Method Details

    • isHealthy

      default boolean isHealthy()
      Check Lookup Value Provider health
      Returns:
      Health flag
    • lookup

      String lookup(String key, boolean password) throws Exception
      Lookup an external value by key.
      Parameters:
      key - The key to find
      password - Whether it is used for a password property.
      Returns:
      The value found
      Throws:
      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.