Class VaultEnvironmentProperties
java.lang.Object
org.springframework.cloud.config.server.environment.VaultEnvironmentProperties
- All Implemented Interfaces:
EnvironmentRepositoryProperties, HttpEnvironmentRepositoryProperties
@ConfigurationProperties("spring.cloud.config.server.vault")
public class VaultEnvironmentProperties
extends Object
implements HttpEnvironmentRepositoryProperties
- Author:
- Dylan Roberts, Haroun Pacquee, Scott Frederick
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAppRole properties.static enumstatic classAWS-EC2 properties.static classAWS-IAM properties.static classAzure MSI properties.static classGCP credential properties.static classGCP-GCE properties.static classGCP-IAM properties.static classKubernetes properties.static classPCF properties.static classSSL properties. -
Field Summary
Fields inherited from interface EnvironmentRepositoryProperties
DEFAULT_ORDER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHost()intintgetOrder()getPcf()getPort()getProxy()getSsl()intgetToken()booleanbooleanbooleanvoidsetAuthentication(VaultEnvironmentProperties.AuthenticationMethod authentication) voidsetBackend(String backend) voidsetDefaultKey(String defaultKey) voidsetDefaultLabel(String defaultLabel) voidsetEnableLabel(boolean enableLabel) voidsetFullKeyPath(boolean fullKeyPath) voidvoidsetKvVersion(int kvVersion) voidsetNamespace(String namespace) voidsetOrder(int order) voidsetPathToKey(String pathToKey) voidvoidsetProfileSeparator(String profileSeparator) voidvoidvoidsetSkipSslValidation(boolean skipSslValidation) voidsetTimeout(int timeout) void
-
Constructor Details
-
VaultEnvironmentProperties
public VaultEnvironmentProperties()
-
-
Method Details
-
getHost
-
setHost
-
getPort
-
setPort
-
getScheme
-
setScheme
-
getBackend
-
setBackend
-
isFullKeyPath
public boolean isFullKeyPath() -
setFullKeyPath
public void setFullKeyPath(boolean fullKeyPath) -
getDefaultKey
-
setDefaultKey
-
getProfileSeparator
-
setProfileSeparator
-
isSkipSslValidation
public boolean isSkipSslValidation()- Specified by:
isSkipSslValidationin interfaceHttpEnvironmentRepositoryProperties
-
setSkipSslValidation
public void setSkipSslValidation(boolean skipSslValidation) -
getProxy
- Specified by:
getProxyin interfaceHttpEnvironmentRepositoryProperties
-
setProxy
-
getOrder
public int getOrder() -
setOrder
public void setOrder(int order) - Specified by:
setOrderin interfaceEnvironmentRepositoryProperties
-
getTimeout
public int getTimeout()- Specified by:
getTimeoutin interfaceHttpEnvironmentRepositoryProperties
-
setTimeout
public void setTimeout(int timeout) -
getKvVersion
public int getKvVersion() -
setKvVersion
public void setKvVersion(int kvVersion) -
getNamespace
-
setNamespace
-
getToken
-
setToken
-
isEnableLabel
public boolean isEnableLabel() -
setEnableLabel
public void setEnableLabel(boolean enableLabel) -
getDefaultLabel
-
setDefaultLabel
-
getAppRole
-
getAwsEc2
-
getAwsIam
-
getAzureMsi
-
getGcpGce
-
getGcpIam
-
getKubernetes
-
getPcf
-
getSsl
-
setAuthentication
-
getAuthentication
-
getPathToKey
-
setPathToKey
-