Closed jawwadfarooq closed 4 years ago
Hi @jawwadfarooq, sorry for the late response because of the Chinese New Year Public Holiday. There is a breaking change in 2.1.8. We update Keyvault SDK to azure-security-keyvault-secrets, in this SDK, it use azure-identity to do authentication, so KeyVaultCredentials is deprecated. If you update your version to 2.1.8. You can refer to the latest readme doc to configure your application. By the way, your issue is the same type with #822
Hi,
Environment
Spring boot starter:
2.1.11.RELEASE
2.1.8
OS Type: Linux
Java version:
Summary
My project was initially using version
2.1.5
of azure-keyvault-secrets-spring-boot-starter but now when I have updated it to version2.1.8
below exception is logged at runtime:java.lang.ClassNotFoundException: com.microsoft.azure.keyvault.authentication.KeyVaultCredentials
Reproduce steps
Initially I had:
And the only change I did is:
Expected Results
Application should work and I must be be able to use:
azure.keyvault.secret.keys
Actual Results
java.lang.ClassNotFoundException: com.microsoft.azure.keyvault.authentication.KeyVaultCredentials