Class SecretLeaseCreatedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.vault.core.lease.event.SecretLeaseEvent
org.springframework.vault.core.lease.event.SecretLeaseCreatedEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SecretLeaseRotatedEvent
Event published after obtaining secrets potentially associated with a
Lease
.- Author:
- Mark Paluch
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionSecretLeaseCreatedEvent
(RequestedSecret requestedSecret, Lease lease, Map<String, Object> secrets) -
Method Summary
Methods inherited from class org.springframework.vault.core.lease.event.SecretLeaseEvent
getLease, getSource
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
SecretLeaseCreatedEvent
public SecretLeaseCreatedEvent(RequestedSecret requestedSecret, Lease lease, Map<String, Object> secrets) - Parameters:
requestedSecret
- must not be null.lease
- must not be null.secrets
- must not be null.
-
-
Method Details
-
getSecrets
-