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).
Author:
Spencer Gibb, Mark Paluch, Kevin Holditch, Michal Budzyn, Grenville Wilson, MÃ¥rten Svantesson
  • Constructor Details

    • ConfigLifecycle

      public ConfigLifecycle()
  • Method Details

    • 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)
    • getLeaseStrategy

      @Nullable public org.springframework.cloud.vault.config.VaultProperties.PredefinedLeaseStrategy getLeaseStrategy()
    • setLeaseStrategy

      public void setLeaseStrategy(@Nullable org.springframework.cloud.vault.config.VaultProperties.PredefinedLeaseStrategy leaseStrategy)