apig__AssociateSignatureKey
Binds a signature key to one or more published API Gateway APIs so requests to backend services are signed and their origins can be verified.
Instructions
[APIG] 签名密钥创建后,需要绑定到API才能生效。将签名密钥绑定到API后,则API网关请求后端服务时就会使用这个签名密钥进行加密签名,后端服务可以校验这个签名来验证请求来源。 将指定的签名密钥绑定到一个或多个已发布的API上。 同一个API发布到不同的环境可以绑定不同的签名密钥;一个API在发布到特定环境后只能绑定一个签名密钥。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"publish_ids": "<publish_ids>",
"sign_id": "<sign_id>"
},
"name": "apig__AssociateSignatureKey"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sign_id | Yes | 签名密钥编号 | |
| publish_ids | Yes | API的发布记录编号 |