spring-vault icon indicating copy to clipboard operation
spring-vault copied to clipboard

Spring Vault should raise an event after properties have been updated due to secret rotation

Open shitikanth opened this issue 11 months ago • 0 comments

Problem: Currently it is awkward to update relevant beans with updated properties when the secret lease has been rotated.

Proposed solution: LeaseAwarePropertySource can raise an event (e.g. AfterSecretLeaseRotatedEvent) with the changed properties, so that relevant beans can implement a listener to this event to update themselves.

Note: This enhancement request was originally reported at https://github.com/spring-cloud/spring-cloud-vault/issues/742

shitikanth avatar Feb 19 '25 03:02 shitikanth