Interface VaultKeyResolver

  • All Superinterfaces:
    BiFunction<String,​String,​String>

    public interface VaultKeyResolver
    extends BiFunction<String,​String,​String>
    VaultKeyResolver is a BiFunction whose implementation of the BiFunction.apply(Object, Object) method takes two Strings representing the realm name and the key name (as used in ${vault.key} expressions) and returns another String representing the final constructed key that is to be used when obtaining secrets from the vault.

    Implementations essentially define the algorithm that is to be used to combine the realm and the key to create the name that represents an entry in the vault.

    Author:
    Stefan Guilhen