Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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