Class VaultProperties.ConfigLifecycle
- java.lang.Object
-
- org.springframework.cloud.vault.config.VaultProperties.ConfigLifecycle
-
- Enclosing class:
- VaultProperties
public static class VaultProperties.ConfigLifecycle extends Object
Configuration to Vault lifecycle management (renewal, revocation of tokens and secrets).
-
-
Constructor Summary
Constructors Constructor Description ConfigLifecycle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DurationgetExpiryThreshold()org.springframework.vault.core.lease.LeaseEndpointsgetLeaseEndpoints()DurationgetMinRenewal()booleanisEnabled()voidsetEnabled(boolean enabled)voidsetExpiryThreshold(Duration expiryThreshold)voidsetLeaseEndpoints(org.springframework.vault.core.lease.LeaseEndpoints leaseEndpoints)voidsetMinRenewal(Duration minRenewal)
-
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
getMinRenewal
@Nullable public Duration getMinRenewal()
-
setMinRenewal
public void setMinRenewal(@Nullable Duration minRenewal)
-
getExpiryThreshold
@Nullable public Duration getExpiryThreshold()
-
setExpiryThreshold
public void setExpiryThreshold(@Nullable Duration expiryThreshold)
-
getLeaseEndpoints
@Nullable public org.springframework.vault.core.lease.LeaseEndpoints getLeaseEndpoints()
-
setLeaseEndpoints
public void setLeaseEndpoints(@Nullable org.springframework.vault.core.lease.LeaseEndpoints leaseEndpoints)
-
-