Hello,
I have the key "azure.activedirectory.b2c.client-id" stored in the azure keyvault
as 'azure-activedirectory-b2c-client-id'. I am trying to access this key in my code
using the @Value spring annotation.
e.g
@Value("azure.activedirectory.b2c.client-id")
private String activeDirectoryClientId;
The keyvault code replaces all the '.' characters with '-'
https://github.com/microsoft/azure-spring-boot/blob/master/azure-spring-boot/src/main/java/com/microsoft/azure/keyvault/spring/KeyVaultOperation.java#L117
so it can not transform it properly.
We've managed to find a workaround by having the following line in the application.properties
azure.activedirectory.b2c.client-id=${azure.activedirectory.b2c.clientId}
Any suggestions on how we should handle these kind of problems?
Hello, I'm an experienced Spring developer but an Azure beginner.
I succesfully used Azure Service Bus in a Spring Boot 2.2 backend. But I meet a problem when using Azure CosmosDB (I'm using the "com.microsoft.azure:azure-cosmosdb-spring-boot-starter:2.3.2" starter) :
Does it ring a bell ? Is this the right place to talk about this issue ? Should I raise an issue in https://github.com/microsoft/spring-data-cosmosdb/issues ?
Thank you for your help. :)