This PowerShell git repo contains scripts for rolling the keys in an Azure AD:
https://github.com/AzureAD/azure-activedirectory-powershell-tokenkey
I need to automate this process in Java. I can't call PowerShell because it runs on a SLES 12 automation server.
I'm wondering if you can do this sort of thing with the java sdk:
https://github.com/Azure/azure-sdk-for-java
or some other library?