spring.config.import=vault:// instead.@ConditionalOnProperty(name="spring.cloud.vault.enabled",
matchIfMissing=true)
@EnableConfigurationProperties(value=VaultKeyValueBackendProperties.class)
@Order(value=2147483637)
@Deprecated
public class VaultBootstrapPropertySourceConfiguration
extends Object
implements org.springframework.beans.factory.InitializingBean
Auto-configuration
for Spring Vault's PropertySourceLocator support.| Constructor and Description |
|---|
VaultBootstrapPropertySourceConfiguration(VaultProperties vaultProperties,
org.springframework.context.ConfigurableApplicationContext applicationContext)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Deprecated.
|
org.springframework.vault.core.lease.SecretLeaseContainer |
secretLeaseContainer(org.springframework.vault.core.VaultOperations vaultOperations,
VaultAutoConfiguration.TaskSchedulerWrapper taskSchedulerWrapper)
Deprecated.
|
org.springframework.cloud.bootstrap.config.PropertySourceLocator |
vaultPropertySourceLocator(org.springframework.vault.core.VaultOperations operations,
VaultProperties vaultProperties,
VaultKeyValueBackendProperties kvBackendProperties,
org.springframework.beans.factory.ObjectFactory<org.springframework.vault.core.lease.SecretLeaseContainer> secretLeaseContainerObjectFactory)
Deprecated.
|
public VaultBootstrapPropertySourceConfiguration(VaultProperties vaultProperties, org.springframework.context.ConfigurableApplicationContext applicationContext)
public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean@Bean
public org.springframework.cloud.bootstrap.config.PropertySourceLocator vaultPropertySourceLocator(org.springframework.vault.core.VaultOperations operations,
VaultProperties vaultProperties,
VaultKeyValueBackendProperties kvBackendProperties,
org.springframework.beans.factory.ObjectFactory<org.springframework.vault.core.lease.SecretLeaseContainer> secretLeaseContainerObjectFactory)
@Bean
@Lazy
@ConditionalOnMissingBean
public org.springframework.vault.core.lease.SecretLeaseContainer secretLeaseContainer(org.springframework.vault.core.VaultOperations vaultOperations,
VaultAutoConfiguration.TaskSchedulerWrapper taskSchedulerWrapper)
vaultOperations - the VaultOperations.taskSchedulerWrapper - the VaultAutoConfiguration.TaskSchedulerWrapper.SessionManager for Vault session management.SessionManager,
LifecycleAwareSessionManagerCopyright © 2022 Pivotal Software, Inc.. All rights reserved.