在资源管理器模式下通过 java sdk 进行 Azure 身份验证

Azure Authenticating via java sdk in Resource manager mode

我是 Mac 用户,无法访问 powershell cli 工具。我想在资源管理器模式 (arm)

中验证我的 java 程序到 azure

根据我目前阅读的文档,我在 Active Directory 中创建了一个应用程序,但我没有看到任何选项可以将任何证书上传到 UI 中的应用程序进行身份验证。此外,我在 UI 中没有看到任何选项,用于将权限分配给使用资源管理器 api 的应用程序。

使用 powershell 是完成上述任务的唯一选择吗?

I am a Mac user and don't have access to the powershell cli tools. I want to authenticate my java program to the azure in resource manager mode (arm)

我不确定你为什么这么说。 CLI 工具是使用 node.js 构建的(因此在所有平台上都可用)并且不同于 Azure PowerShell Cmdlet。请参阅此 link 以了解将 CLI 工具与 Azure 资源管理器结合使用 - https://azure.microsoft.com/en-in/documentation/articles/xplat-cli-azure-resource-manager/.

According to the docs i have read so far, i have created a app in the Active directory, but I don't see any option to upload any certificate to the application for authentication in the UI.

使用 Azure 资源管理器,您不必这样做。 authentication/authorization 将通过 Azure Active Directory 完成。基于证书的身份验证用于 Azure 服务管理 API。

Also, I don't see any option in the UI for assigning privilege to the application for using resource manager api.

这个,你可以通过Azure Preview Portal来完成。请参阅下面的屏幕截图,其中我已为我的 Azure 订阅上的应用程序分配权限。