UiPath Documentation
integration-service
latest
false
Integration Service 用户指南
重要 :
请注意,此内容已使用机器翻译进行了本地化。 Integration Service 中提供的连接器包采用的是机器翻译的译文。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

Agent 2 Agent authentication

Connect Integration Service to a remote Agent2Agent (A2A) agent by entering its service URL and the credentials for the authentication type the agent requires.

Each Agent 2 Agent connection points to one remote agent. Create a connection for every agent you want to call from Maestro.

先决条件​

  • The remote agent meets the remote agent requirements.
  • The base URL of the agent, used as the Service URL. Enter the base URL only, without a path or a trailing slash. The connector adds the A2A paths, such as /.well-known/agent-card.json, itself.
  • The credentials for the authentication type that the agent requires. The agent declares its supported security schemes in its Agent Card.

身份验证类型​

All authentication types require the Service URL. The other fields depend on the authentication type.

身份验证类型字段
基本身份验证Username, Password (optional), Authentication validation API (optional)
API 密钥Parameter name, Value, Add to (Header or Query, default Header), Authentication validation API (optional)
个人访问令牌Token prefix (default Bearer), Token, Authentication validation API (optional)
OAuth 2.0 授权代码Client ID, Client secret, Authorization URL, Token URL, Scope (optional)
OAuth 2.0 客户端凭据Client ID, Client secret, Token URL, Scope (optional)
OAuth 2.0 密码Client ID, Client secret, Authorization URL, Token URL, Username, Password (optional), Scope (optional)
OAuth 2.0 JWT 持有者Client ID, Client secret, Authorization URL, Token URL, JWT base64 encoded key, Scope (optional)

The following fields need more context:

  • Parameter name: the exact name of the header or query parameter that carries the API key, for example X-API-Key.
  • Token prefix: the prefix added before the token in the Authorization header. Leave it empty if the agent expects the token without a prefix.
  • Authentication validation API: a relative path that returns a successful response when the credentials are valid, for example /api/v1/me.
  • Scope: the OAuth scopes requested from the authorization server of the agent, as declared in its Agent Card. Separate multiple scopes with spaces or commas. Leave it empty to use the default scopes of the authorization server.
  • JWT base64 encoded key: the Base64-encoded private key used to sign the JWT. Follow the instructions of your identity provider to generate and encode it.

Add the Agent 2 Agent connection​

  1. 从产品启动器中选择Orchestrator 。

  2. 选择一个文件夹,然后导航到“连接”选项卡。

  3. 选择“添加连接”。

  4. To open the connection creation page, select the Agent 2 Agent connector from the list. You can use the search bar to find the connector.

  5. In Service URL, enter the base URL of the agent.

  6. Select the Authentication Type.

  7. Enter the fields required for the selected authentication type.

    在可用的情况下,选择字段旁边的菜单,然后选择“使用凭据资产”或“使用 Orchestrator 资产”以引用 Orchestrator 资产,而不是直接输入值。有关更多信息,请参阅使用凭据资产进行连接。

  8. Select Connect.

The connection is created and named after the agent, as declared in the name field of its Agent Card.

  • 先决条件​
  • 身份验证类型​
  • Add the Agent 2 Agent connection​

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新