Depending on the user or application context that you are using to configure Key Vault properties, you must grant required access to that identity via key vault access policies. Looking at the parameters that you have shared, it appears to be using application context.
You can try the steps mentioned 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, which includes the steps to
- Create a key vault
- Configure required permissions
- Store secrets in that key vault
and retrieve the secret from the keyvault via https://{your-appservice-name}.azurewebsites.net/get url.
-----------------------------------------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.