Source correct tenant id for root credentials

This commit is contained in:
tomdds 2020-01-31 14:03:39 -05:00
parent 9880da93c9
commit e672941259

View File

@ -861,7 +861,7 @@ class AzureCloudProvider(CloudProviderInterface):
def _get_root_provisioning_token(self):
creds = self._source_creds()
return self._get_sp_token(
creds.tenant_id, creds.root_sp_client_id, creds.root_sp_key
creds.root_tenant_id, creds.root_sp_client_id, creds.root_sp_key
)
def _get_sp_token(self, tenant_id, client_id, secret_key):