The docs page for resource_group states the following:
authenticate using AAD tokens on Azure deployments
It would be good for this to be a link to documentation describing how to do this, perhaps this page?