Closed sudhakarbetha closed 4 years ago
Thanks for reaching out. Could you help provide more info, such as how the tests are written or configuration are set?
I was able to get this by getting the context to test by @SpringBootTest
Close this issue for now.
Environment
Spring boot starter:
OS Type: Windows
Java version:
Summary
I cannot use the KeyVault properties in my Tests, even if i define thetest for the dependency in my pom.xml
Reproduce steps
Settest for azure-keyvault-secrets-spring-boot-starter in pom.xml
I cannot read the KeyVault property in my tests as @Value("${property}")
I get them as ${property}
Expected Results
I would need to retrieve the value from the keyvault
Actual Results
$(property} is returned