Interface VaultSecretBackendDescriptor


  • public interface VaultSecretBackendDescriptor
    Interface to be implemented by objects that describe a Vault secret backend. Mainly for internal use within the framework.

    Typically used by SecretBackendMetadataFactory to provide path and configuration to create a SecretBackendMetadata object. Instances are materialized through Binder and should be therefore annotated with @ConfigurationProperties. 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:
    SecretBackendMetadataFactory, SecretBackendMetadata
    • Method Detail

      • getBackend

        String getBackend()
        Backend path without leading/trailing slashes.
        Returns:
        the backend path such as secret or mysql.
      • isEnabled

        boolean isEnabled()
        Returns:
        true if the backend is enabled.