@ConfigurationProperties(value="spring.cloud.vault.kv") @Validated public class VaultKeyValueBackendProperties extends Object implements org.springframework.context.EnvironmentAware, VaultKeyValueBackendPropertiesSupport
| Modifier and Type | Field and Description |
|---|---|
static String |
PREFIX
Configuration prefix for config properties.
|
| Constructor and Description |
|---|
VaultKeyValueBackendProperties() |
| Modifier and Type | Method and Description |
|---|---|
String |
getApplicationName() |
String |
getBackend() |
int |
getBackendVersion()
Deprecated.
|
String |
getDefaultContext() |
List<String> |
getProfiles() |
String |
getProfileSeparator() |
boolean |
isEnabled() |
void |
setApplicationName(String applicationName) |
void |
setBackend(String backend) |
void |
setBackendVersion(int backendVersion) |
void |
setDefaultContext(String defaultContext) |
void |
setEnabled(boolean enabled) |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
void |
setProfiles(List<String> profiles) |
void |
setProfileSeparator(String profileSeparator) |
String |
toString() |
public static final String PREFIX
public void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment in interface org.springframework.context.EnvironmentAwarepublic boolean isEnabled()
isEnabled in interface VaultKeyValueBackendPropertiesSupportpublic String getBackend()
getBackend in interface VaultKeyValueBackendPropertiesSupportpublic String getDefaultContext()
getDefaultContext in interface VaultKeyValueBackendPropertiesSupportpublic String getProfileSeparator()
getProfileSeparator in interface VaultKeyValueBackendPropertiesSupportpublic String getApplicationName()
getApplicationName in interface VaultKeyValueBackendPropertiesSupportpublic List<String> getProfiles()
getProfiles in interface VaultKeyValueBackendPropertiesSupport@Deprecated @DeprecatedConfigurationProperty(reason="Backend version no longer required. The kv version is determined during secret retrieval") public int getBackendVersion()
public void setEnabled(boolean enabled)
public void setBackend(String backend)
public void setDefaultContext(String defaultContext)
public void setProfileSeparator(String profileSeparator)
public void setApplicationName(String applicationName)
public void setBackendVersion(int backendVersion)
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.