Uses of Class
org.springframework.vault.core.lease.domain.RequestedSecret
Packages that use RequestedSecret
Package
Description
Spring Vault's environment abstraction consisting property source support.
The core package implementing lease renewal and secret rotation.
Lease domain classes.
Support classes for lease application events.
-
Uses of RequestedSecret in org.springframework.vault.core.env
Methods in org.springframework.vault.core.env that return RequestedSecretConstructors in org.springframework.vault.core.env with parameters of type RequestedSecretModifierConstructorDescriptionLeaseAwareVaultPropertySource
(String name, SecretLeaseContainer secretLeaseContainer, RequestedSecret requestedSecret) LeaseAwareVaultPropertySource
(String name, SecretLeaseContainer secretLeaseContainer, RequestedSecret requestedSecret, PropertyTransformer propertyTransformer) LeaseAwareVaultPropertySource
(String name, SecretLeaseContainer secretLeaseContainer, RequestedSecret requestedSecret, PropertyTransformer propertyTransformer, boolean ignoreSecretNotFound) LeaseAwareVaultPropertySource
(SecretLeaseContainer secretLeaseContainer, RequestedSecret requestedSecret) -
Uses of RequestedSecret in org.springframework.vault.core.lease
Methods in org.springframework.vault.core.lease that return RequestedSecretModifier and TypeMethodDescriptionSecretLeaseContainer.addRequestedSecret
(RequestedSecret requestedSecret) Add aRequestedSecret
.SecretLeaseContainer.requestRenewableSecret
(String path) Request a renewable secret atpath
.SecretLeaseContainer.requestRotatingSecret
(String path) Request a rotating secret atpath
.Methods in org.springframework.vault.core.lease with parameters of type RequestedSecretModifier and TypeMethodDescriptionSecretLeaseContainer.addRequestedSecret
(RequestedSecret requestedSecret) Add aRequestedSecret
.protected VaultResponseSupport<Map<String,
Object>> SecretLeaseContainer.doGetSecrets
(RequestedSecret requestedSecret) Retrieve secrets fromVaultOperations
.protected 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.onSecretsNotFound
(RequestedSecret requestedSecret) Hook method called when secrets were not found.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.boolean
SecretLeaseContainer.renew
(RequestedSecret secret) Renew asecret
.void
SecretLeaseContainer.rotate
(RequestedSecret secret) Rotate asecret
. -
Uses of RequestedSecret in org.springframework.vault.core.lease.domain
Methods in org.springframework.vault.core.lease.domain that return RequestedSecretModifier and TypeMethodDescriptionstatic RequestedSecret
RequestedSecret.from
(RequestedSecret.Mode mode, String path) static RequestedSecret
Create a renewableRequestedSecret
atpath
.static RequestedSecret
Create a rotatingRequestedSecret
atpath
. -
Uses of RequestedSecret in org.springframework.vault.core.lease.event
Methods in org.springframework.vault.core.lease.event that return RequestedSecretConstructors in org.springframework.vault.core.lease.event with parameters of type RequestedSecretModifierConstructorDescriptionAfterSecretLeaseRenewedEvent
(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