通过在资源管理器模式Java SDK的Azure的身份验证 [英] Azure Authenticating via java sdk in Resource manager mode
问题描述
我是一个Mac用户并没有访问的PowerShell命令行工具。我想我的java程序验证在资源管理器模式蔚蓝(ARM)
据到目前为止,我已经阅读文档,我已经建立在Active Directory中的应用程序,但我没有看到任何选项,任何证书上传到申请认证的UI。另外,我没有看到任何的用户界面选项使用资源管理器API的权限分配给应用程序。
时使用PowerShell中的唯一选择上面做任务?
我是一个Mac用户并没有访问的PowerShell命令行工具。一世
希望我的java程序进行身份验证在资源管理器蔚蓝
模式(ARM)
块引用>我不知道为什么你这么说。 CLI工具使用Node.js的建(因此适用于所有平台),比天青PowerShell命令不同。请参阅此链接使用CLI工具,Azure的资源管理器 - 的https://azure.microsoft.com/en-in/documentation/articles/xplat-cli-azure-resource-manager/.
据到目前为止,我已经阅读文档,我创建了一个应用程序
活动目录,但我没有看到任何选项上传任何证书
为在UI认证申请。
块引用>使用Azure的资源管理器,你不必这样做。认证/授权将通过Azure的Active Directory中完成。基于证书的验证是Azure的服务管理API。
另外,我没有看到任何的用户界面选项的特权分配
应用程序使用资源管理器API。
块引用>这,您可以通过
天青preVIEW门户网站
<做/ A>。见下面,我已经指派权限的应用程序在我的Azure订阅这个截图。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)
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. Also, I don't see any option in the UI for assigning privilege to the application for using resource manager api.
Is using powershell the only option to do the above tasks ?
解决方案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)
I'm not sure why you say that. CLI tools are built using node.js (thus available on all platforms) and are different than Azure PowerShell Cmdlets. Please see this link for using CLI tools with Azure Resource Manager - 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.
With Azure Resource Manager, you don't have to do that. The authentication/authorization will be done via Azure Active Directory. Certificate based authentication is for Azure Service Management API.
Also, I don't see any option in the UI for assigning privilege to the application for using resource manager api.
This, you can do through
Azure Preview Portal
. See this screenshot below where I have assigned permission to an application on my Azure Subscription.这篇关于通过在资源管理器模式Java SDK的Azure的身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!