spring-vault
spring-vault copied to clipboard
Leases no longer revoked after stopping SecretLeaseContainer
I reopen this issue related to https://github.com/spring-projects/spring-vault/issues/844 We tested the version 3.1.1 and and unfortunately we still have the issue.
Best regards,
Can you check your shutdown debug logs regarding Vault communication and debug what happens for you in SecretLeaseContainer.destroy() as there is the code path to revoke secrets?
Hello @mp911de , I'm sorry for the delay to give feedback . In Debug , the method SecretLeaseContainer.destroy() is not called when we use ConfigData and it well called when we use Boostrap Config.
Best Regards,
This needs to be handled in Spring Cloud Vault as part of the bean registration, see https://github.com/spring-cloud/spring-cloud-vault/issues/725