Interface SecretBackendMetadataFactory<T extends VaultSecretBackendDescriptor>

Type Parameters:
T - descriptor type.

public interface SecretBackendMetadataFactory<T extends VaultSecretBackendDescriptor>
Strategy interface to create SecretBackendMetadata from VaultSecretBackendDescriptor properties. Mainly for internal use within the framework.

Classes implementing this interface must implement supports(VaultSecretBackendDescriptor) to determine whether a particular VaultSecretBackendDescriptor is supported by this implementation. If a VaultSecretBackendDescriptor instance is supported by the implementation, it must be able to create SecretBackendMetadata, see createMetadata(VaultSecretBackendDescriptor).

Typically implemented by secret backend providers that implement access to a particular backend using read operations. Objects implementing this interface can be discovered either from the ApplicationContext when using BootstrapConfiguration (deprecated since 3.0) or spring.factories when using ConfigDataLocationResolver.

Author:
Mark Paluch
See Also: