认证

更新时间:
复制 MD 格式

Security API 的 API Key 获取与使用方式。

Security API 采用 API Key 鉴权。全部请求通过 HTTP Header 携带阿里云百炼 API Key:

Authorization: Bearer <your-api-key>

获取 API Key

  1. 打开百炼控制台,登录阿里云账号并开通百炼。
  2. 在 API Key 页面创建并复制 API Key。

警告API Key 具有账号级权限,请妥善保管,不要在公开渠道分享或提交到代码仓库。

重要配置完成后,从查询 Agent 资产开始调用。