AzureAD/azure-activedirectory-library-for-java

Does the SDK support acquiring MSI authentication token?

yvgopal opened this issue · 1 comments

I am from Azure service bus team. Our SDK supports AAD authentication, and of course MSI too. AAD library for .net has API to get a MSI authentication token (from documentation)
var azureServiceTokenProvider = new AzureServiceTokenProvider(); string accessToken = await azureServiceTokenProvider.GetAccessTokenAsync("https://management.azure.com/");

Do you have something similar in ADAL4J library? We are currently fetching the token from a hard coded http URL on the VM ( which apparently is no longer the recommended way).

If you don't have it now, are you planning to add it to the java SDK? If yes, when can we expect it?

Thanks,
Vijay