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.@Validated public class VaultEnvironmentRepository extends AbstractVaultEnvironmentRepository
defaultKey, order, profileSeparator, request, watch
Constructor and Description |
---|
VaultEnvironmentRepository(org.springframework.beans.factory.ObjectProvider<javax.servlet.http.HttpServletRequest> request,
EnvironmentWatch watch,
org.springframework.web.client.RestTemplate rest,
VaultEnvironmentProperties properties)
Deprecated.
|
VaultEnvironmentRepository(org.springframework.beans.factory.ObjectProvider<javax.servlet.http.HttpServletRequest> request,
EnvironmentWatch watch,
org.springframework.web.client.RestTemplate rest,
VaultEnvironmentProperties properties,
ConfigTokenProvider tokenProvider)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected String |
read(String key)
Deprecated.
|
void |
setBackend(String backend)
Deprecated.
|
void |
setHost(String host)
Deprecated.
|
void |
setNamespace(String namespace)
Deprecated.
|
void |
setPort(int port)
Deprecated.
|
void |
setScheme(String scheme)
Deprecated.
|
findOne, getOrder, setDefaultKey, setOrder, setProfileSeparator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findOne
public VaultEnvironmentRepository(org.springframework.beans.factory.ObjectProvider<javax.servlet.http.HttpServletRequest> request, EnvironmentWatch watch, org.springframework.web.client.RestTemplate rest, VaultEnvironmentProperties properties)
public VaultEnvironmentRepository(org.springframework.beans.factory.ObjectProvider<javax.servlet.http.HttpServletRequest> request, EnvironmentWatch watch, org.springframework.web.client.RestTemplate rest, VaultEnvironmentProperties properties, ConfigTokenProvider tokenProvider)
protected String read(String key)
read
in class AbstractVaultEnvironmentRepository
public void setHost(String host)
public void setPort(int port)
public void setScheme(String scheme)
public void setBackend(String backend)
public void setNamespace(String namespace)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.