You need to enable JavaScript to run this app.
文档中心
密钥管理系统

密钥管理系统

复制全文
下载 pdf
实例管理
ModifyKmsInstanceSpec - 更改密钥管理实例配置
复制全文
下载 pdf
ModifyKmsInstanceSpec - 更改密钥管理实例配置

更改密钥管理实例配置

调试

请求参数

下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数

参数
类型
是否必填
示例值
描述
Action
String

ModifyKmsInstanceSpec

要执行的操作,取值:ModifyKmsInstanceSpec。

Version
String

2021-02-18

API的版本,取值:2021-02-18。

InstanceID
String

CloudKMSxxxxx

实例ID

ModifiedInstanceSpec
String

{"SoftwareKeyLimit": 100, "QPSLimit": 1000}

更配后实例配置

返回参数

下表仅列出本接口特有的返回参数。更多信息请参见返回结构

参数
类型
示例值
描述
InstanceID
String

CloudKMSxxxxx

实例ID

OrderID
String

OrderIDxxxxx

订单号

请求示例

POST /?Action=ModifyKmsInstanceSpec&Version=2021-02-18 HTTP/1.1
Host: kms.cn-beijing.volcengineapi.com
Content-Type: application/json; charset=UTF-8
X-Date: 20260506T062922Z
X-Content-Sha256: 287e874e******d653b44d21e
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20260506/cn-beijing/kms/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f

{
  "InstanceID": "CloudKMSxxxxx",
  "ModifiedInstanceSpec": "{\"SoftwareKeyLimit\": 100, \"QPSLimit\": 1000}"
}

返回示例

{
  "ResponseMetadata": {
    "RequestId": "2026050614292718420120906274E17A",
    "Action": "ModifyKmsInstanceSpec",
    "Version": "2021-02-18",
    "Service": "kms",
    "Region": "cn-beijing"
  },
  "Result": {
    "InstanceID": "CloudKMSxxxxx",
    "OrderID": "OrderIDxxxxx"
  }
}

错误码

下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。

状态码
错误码
错误信息
说明
400
InvalidParameter

The request parameter %s is invalid.

400
MissingParameter

The request is missing %s parameter.

403
AccessDenied

User is not authorized to do this action

403
KMS_ServiceNotOpen

KMS service not open yet, please open the service and try again later.

403
Reject.Throttling.Action

The request of Action: %s upper limit is exceeded.

403
ActionDenied

Unable to perform this action, instance is

无法对实例执行此操作

409
OrderConflict

The account order already exists

--

500
UndefinedError

Undefined Internal Error. Pls Contact With Admin.

最近更新时间:2026.08.14 22:42:28
这个页面对您有帮助吗?
有用
有用
无用
无用