Live Optics、Microsoft Azure:创建 Azure 凭据

Summary: Live Optics,创建 Azure 凭据

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

要开始 Live Optics Azure 收集,您必须输入客户端 ID、客户端密码、订阅 ID 和租户 ID 作为凭据。建议您创建一个具有只读权限的临时服务主体帐户,该帐户仅用于 Live Optics 收集。本文介绍如何使用正确权限创建凭据以运行 Live Optics 收集。
 

  1. 打开 Azure 门户,然后选择“PowerShell”图标。

    步骤 1.png

   2.在 PowerShell 中输入以下命令以检索订阅 ID 列表。
 

PS/home/username>az account list

步骤 2.png

  1. 从列表中选择要为其运行 Live Optics 收集的订阅 ID(您需要用于收集器身份验证的订阅 ID)。

    步骤 3.png
     
  2. 输入以下命令以设置服务主体帐户的订阅。

    PS/home/username>az account set --subscription <ID>

    步骤 4.png
     
  3. 使用以下命令验证订阅是否正确,并检索租户 ID 和订阅 ID 以进行收集器身份验证。

    PS/home/username>az account show

    步骤 5.png
     
  4. 要创建具有只读权限的服务主体帐户,请输入以下命令:

    PS/home/username>az ad sp create-for-rbac --name http://<Service Principal Name>--role reader --scopes /subscriptions/<subscription ID>

    复制收集器身份验证需要在下面突出显示的客户端 ID 和客户端密码。

    步骤 6.png

Affected Products

APEX Cloud Platform for Microsoft Azure

Products

Dell EMC Cloud For Microsoft Azure Stack
Article Properties
Article Number: 000228863
Article Type: How To
Last Modified: 25 Mar 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.