Interface VaultConfigurer


public interface VaultConfigurer
Defines callback methods to customize the configuration for Spring Cloud Vault applications.

Configuration classes may implement this interface to be called back and given a chance to customize the default configuration. Consider implementing this interface and overriding the relevant methods for your needs.

Registered bean instances of VaultConfigurer disable default secret backend registration for the kv and integrative (other discovered SecretBackendMetadata) backends. See SecretBackendConfigurer.registerDefaultDiscoveredSecretBackends(boolean) for more details.

Since:
1.1
Author:
Mark Paluch
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Configure the secret backends that are instantiated as property sources.
  • Method Details

    • addSecretBackends

      void addSecretBackends(SecretBackendConfigurer configurer)
      Configure the secret backends that are instantiated as property sources.
      Parameters:
      configurer - the SecretBackendConfigurer to configure secret backends, must not be null.