[Query] Issue with running spring boot application on azure spring apps with key vault configuration. Using Service principal auth. #39916
Labels
azure-spring
All azure-spring related issues
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
I have a spring boot application, using key vault to store my mongodb credentials. I am using service principal authentication to connect with azure key vault. The application is currently running on local env after log in with az login service principal. But, when I am trying to deploy it on azure spring cloud, I am getting the below exception
I am using the below dependency
com.azure.spring
spring-cloud-azure-starter-keyvault
5.11.0
java.lang.IllegalStateException: Failed to configure KeyVault property source
`
@value("${spring.cloud.azure.keyvault.secret.property-sources[0].endpoint}")
private String keyVaultEndpoint;
Why is this not a Bug or a feature Request?
A clear explanation of why is this not a bug or a feature request?
Setup (please complete the following information if applicable):
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: