Azure-Samples/azure-spring-boot-samples

Spring boot azure keyvault refresh on demand

maciejbak85 opened this issue · 1 comments

I am using spring boot with azure's keyvault

        <dependency>
			<groupId>com.azure.spring</groupId>
			<artifactId>azure-spring-boot-starter-keyvault-secrets</artifactId>
		</dependency>

but there is a problem, when I want to update secret.
How to force for example via rest api lets say, refresh of this value ?

@Value("${x-value}") private val xValue: String = "0"
thanks!