Uses of Class
org.springframework.vault.core.lease.domain.Lease
Packages that use Lease
Package
Description
The core package implementing lease renewal and secret rotation.
Lease domain classes.
Support classes for lease application events.
-
Uses of Lease in org.springframework.vault.core.lease
Methods in org.springframework.vault.core.lease that return LeaseModifier and TypeMethodDescriptionprotected Lease
SecretLeaseContainer.doRenewLease
(RequestedSecret requestedSecret, Lease lease) Renew aLease
for aRequestedSecret
.Methods in org.springframework.vault.core.lease with parameters of type LeaseModifier and TypeMethodDescriptionprotected Lease
SecretLeaseContainer.doRenewLease
(RequestedSecret requestedSecret, Lease lease) Renew aLease
for aRequestedSecret
.protected void
SecretLeaseContainer.doRevokeLease
(RequestedSecret requestedSecret, Lease lease) Revoke theLease
.protected void
SecretLeaseEventPublisher.onAfterLeaseRenewed
(RequestedSecret requestedSecret, Lease lease) Hook method called when aLease
is renewed.protected void
SecretLeaseEventPublisher.onAfterLeaseRevocation
(RequestedSecret requestedSecret, Lease lease) Hook method called after triggering revocation for aLease
.protected void
SecretLeaseEventPublisher.onBeforeLeaseRevocation
(RequestedSecret requestedSecret, Lease lease) Hook method called before triggering revocation for aLease
.protected void
SecretLeaseEventPublisher.onError
(RequestedSecret requestedSecret, Lease lease, Exception e) Hook method called when an error occurred during secret retrieval, lease renewal, and other Vault interactions.protected void
SecretLeaseContainer.onLeaseExpired
(RequestedSecret requestedSecret, Lease lease) Hook method called when aLease
expires.protected void
SecretLeaseEventPublisher.onLeaseExpired
(RequestedSecret requestedSecret, Lease lease) Hook method called when aLease
expires.protected void
SecretLeaseEventPublisher.onSecretsObtained
(RequestedSecret requestedSecret, Lease lease, Map<String, Object> body) Hook method called when secrets were obtained.protected void
SecretLeaseEventPublisher.onSecretsRotated
(RequestedSecret requestedSecret, Lease previousLease, Lease lease, Map<String, Object> body) Hook method called when secrets were rotated. -
Uses of Lease in org.springframework.vault.core.lease.domain
Methods in org.springframework.vault.core.lease.domain that return Lease -
Uses of Lease in org.springframework.vault.core.lease.event
Methods in org.springframework.vault.core.lease.event that return LeaseModifier and TypeMethodDescriptionSecretLeaseRotatedEvent.getCurrentLease()
SecretLeaseEvent.getLease()
SecretLeaseRotatedEvent.getPreviousLease()
Constructors in org.springframework.vault.core.lease.event with parameters of type LeaseModifierConstructorDescriptionAfterSecretLeaseRenewedEvent
(RequestedSecret requestedSecret, Lease lease) AfterSecretLeaseRevocationEvent
(RequestedSecret requestedSecret, Lease lease) BeforeSecretLeaseRevocationEvent
(RequestedSecret requestedSecret, Lease lease) SecretLeaseCreatedEvent
(RequestedSecret requestedSecret, Lease lease, Map<String, Object> secrets) SecretLeaseErrorEvent
(RequestedSecret requestedSecret, Lease lease, Throwable exception) protected
SecretLeaseEvent
(RequestedSecret requestedSecret, Lease lease) SecretLeaseExpiredEvent
(RequestedSecret requestedSecret, Lease lease) SecretLeaseRotatedEvent
(RequestedSecret requestedSecret, Lease previousLease, Lease currentLease, Map<String, Object> secrets) SecretNotFoundEvent
(RequestedSecret requestedSecret, Lease lease) Create a newSecretNotFoundEvent
givenRequestedSecret