We are operating in Azure Manage Identity environment, where I have a high performance stdin stdout process where each process request access to the Azure Key Vault for getting secrets and settings for other Azure resources/components. But we experience that we do not get the token each time as we have to many request to fast, and are requested to cache the token and refresh it when expired. makes sense, but I am not able to find the correct/good way to do so. It seems that it is not build in the java sdk for Azure.
I was hoping some of you have had experience in this and could guide me, please.