回答

0

可以實現,使用Azure的graphrbac Python包:

https://azure-sdk-for-python.readthedocs.io/en/latest/graphrbac.html

https://docs.microsoft.com/python/api/azure.graphrbac.graphrbacmanagementclient

這是一個Python RESTAPI正式包裝,我認爲這是因爲一個準確的回答你的問題你標記了「python」。

+0

如果您正確地遵循鏈接,創建憑證實例和獲取JWT令牌的非常重要的部分涉及到使用'client'或'client_id'。您不能簡單地獲得OAuth訪問令牌,而無需「客戶端」。 – astaykov

+0

即:https://docs.microsoft.com/de-de/python/azure/python-sdk-azure-authenticate?view=azure-python - 你有'client'和'key' – astaykov

相關問題