Skip to content

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

@shitikanth

Description

@shitikanth

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 spring-cloud/spring-cloud-vault#742

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions