View a markdown version of this page

步骤 1:创建云连接器 - AWS Systems Manager

步骤 1:创建云连接器

云连接器可设置 AWS 和 Azure 之间的凭证交换,并支持记录 Azure 资源状态。在创建 Systems Manager 云连接器之前,必须先创建该连接器。

注意

云连接器自动创建用于联合身份验证的服务相关角色。您无需为此步骤创建单独的 IAM 角色。

为 Azure 创建云连接器
  1. 创建连接器。将 TENANT_ID 替换为您的 Azure 租户 ID,并将 CLIENT_ID 替换为您为 创建的 Azure AD 应用程序的应用程序(客户端)ID。

    aws configservice put-connector \ --connector-configuration '{ "azure": { "tenantIdentifier": "TENANT_ID", "clientIdentifier": "CLIENT_ID" } }'

    请注意回复中的 Arn,您将下一步中需要它。

  2. 确认连接器已创建:

    aws configservice list-connectors