Class VaultEnvironmentRepository

java.lang.Object
org.springframework.cloud.config.server.environment.AbstractVaultEnvironmentRepository
org.springframework.cloud.config.server.environment.VaultEnvironmentRepository
All Implemented Interfaces:
EnvironmentRepository, org.springframework.core.Ordered

@Validated public class VaultEnvironmentRepository extends AbstractVaultEnvironmentRepository
Deprecated.
Prefer SpringVaultEnvironmentRepository instead of this environment repository implementation. The alternative implementation supports additional features including more authentication options, support for several underlying HTTP client libraries, and better SSL configuration.
Author:
Spencer Gibb, Mark Paluch, Haroun Pacquee, Haytham Mohamed, Scott Frederick
  • Constructor Details

    • VaultEnvironmentRepository

      public VaultEnvironmentRepository(org.springframework.beans.factory.ObjectProvider<javax.servlet.http.HttpServletRequest> request, EnvironmentWatch watch, org.springframework.web.client.RestTemplate rest, VaultEnvironmentProperties properties)
      Deprecated.
    • VaultEnvironmentRepository

      public VaultEnvironmentRepository(org.springframework.beans.factory.ObjectProvider<javax.servlet.http.HttpServletRequest> request, EnvironmentWatch watch, org.springframework.web.client.RestTemplate rest, VaultEnvironmentProperties properties, ConfigTokenProvider tokenProvider)
      Deprecated.
  • Method Details

    • read

      protected String read(String key)
      Deprecated.
      Specified by:
      read in class AbstractVaultEnvironmentRepository
    • setHost

      public void setHost(String host)
      Deprecated.
    • setPort

      public void setPort(int port)
      Deprecated.
    • setScheme

      public void setScheme(String scheme)
      Deprecated.
    • setBackend

      public void setBackend(String backend)
      Deprecated.
    • setNamespace

      public void setNamespace(String namespace)
      Deprecated.