Hi @Jayashree Madanala ,
Based on the retry error message, it looks like your problem might be related to this known issue. If this is the case, you need to exclude com.nimbusds:oauth2-oidc-sdk from the dependencies and add the following dependency:
<dependency>
<groupId>com.nimbusds</groupId>
<artifactId>oauth2-oidc-sdk</artifactId>
<version>5.64.4</version>
</dependency>
Also, depending on the user or application context that you are using to configure Key Vault properties, you will need to grant required access to that identity via key vault access policies as discussed here.
You can try the steps in the document here: https://learn.microsoft.com/en-us/azure/developer/java/spring-framework/configure-spring-boot-starter-java-app-with-azure-key-vault
This includes the steps to create a key vault, configure required permissions, store secrets in the key vault,
and retrieve the secret from the keyvault via https://{your-appservice-name}.azurewebsites.net/get
If you are still having this problem after trying these steps, feel free to reach out to me over email (included in a private comment), and I will gladly help troubleshoot.
-
Please remember to "Accept the answer" if the information helped you. This will help us and others in the community as well.