microsoft / azure-spring-boot

Spring Boot Starters for Azure services
MIT License
374 stars 460 forks source link

SecretAsyncClient tries to fetch non existing secret 'it-is-ok-to-be-empty' #936

Closed deryoman closed 4 years ago

deryoman commented 4 years ago

Environment

Summary

After updating to 'azure-keyvault-secrets-spring-boot-starter:2.3.5', the SecretAsyncClient tries to fetch a secret named it-is-ok-to-be-empty every few seconds. In version 2.3.3. everything works fine.

2020-10-22 07:18:55.055 WARN 1 --- [or-http-epoll-4] c.a.s.k.secrets.SecretAsyncClient : Failed to get secret - it-is-ok-to-be-empty Status code 404, "{"error":{"code":"SecretNotFound","message":"A secret with (name/id) it-is-ok-to-be-empty was not found in this key vault. If you recently deleted this secret you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}"

Reproduce steps

Update dependency version 'azure-keyvault-secrets-spring-boot-starter:2.3.5'