Class VaultProperties.ConfigLifecycle
java.lang.Object
org.springframework.cloud.vault.config.VaultProperties.ConfigLifecycle
- Enclosing class:
VaultProperties
Configuration to Vault lifecycle management (renewal, revocation of tokens and
secrets).
- Author:
- Spencer Gibb, Mark Paluch, Kevin Holditch, Michal Budzyn, Grenville Wilson, MÃ¥rten Svantesson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.vault.core.lease.LeaseEndpointsorg.springframework.cloud.vault.config.VaultProperties.PredefinedLeaseStrategybooleanvoidsetEnabled(boolean enabled) voidsetExpiryThreshold(Duration expiryThreshold) voidsetLeaseEndpoints(org.springframework.vault.core.lease.LeaseEndpoints leaseEndpoints) voidsetLeaseStrategy(org.springframework.cloud.vault.config.VaultProperties.PredefinedLeaseStrategy leaseStrategy) voidsetMinRenewal(Duration minRenewal)
-
Constructor Details
-
ConfigLifecycle
public ConfigLifecycle()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getMinRenewal
-
setMinRenewal
-
getExpiryThreshold
-
setExpiryThreshold
-
getLeaseEndpoints
@Nullable public org.springframework.vault.core.lease.LeaseEndpoints getLeaseEndpoints() -
setLeaseEndpoints
public void setLeaseEndpoints(@Nullable org.springframework.vault.core.lease.LeaseEndpoints leaseEndpoints) -
getLeaseStrategy
@Nullable public org.springframework.cloud.vault.config.VaultProperties.PredefinedLeaseStrategy getLeaseStrategy() -
setLeaseStrategy
public void setLeaseStrategy(@Nullable org.springframework.cloud.vault.config.VaultProperties.PredefinedLeaseStrategy leaseStrategy)
-