密钥管理服务KMS

    接口介绍

    KMS服务仅支持HTTPS协议访问,API的请求方法均为POST。

    KeyMetadata/KeyListEntry/EncryptedRsaKey数据类型描述

    • KeyMetadata
    名称 类型 描述
    keyId String CMK ID
    creationDate Stirng 创建master key的时间,UTC时间
    keyState String CMK的状态,为enabled,disabled,pendingDeletion中的一种
    description String CMK的描述信息
    deletionDate String CMK被设置的删除的时间,只有处于PendingDeletion状态的CMK才会这个字段
    keyUsage String CMK的用途
    region String CMK所在的的区域
    • KeyListEntry
    名称 类型 描述
    keyId String CMK ID
    • EncryptedRsaKey
    名称 类型 描述
    publicKeyDer String 用户RSA密钥, PUBLIC DER base64后的结果
    encryptedD String 用户RSA密钥, D 经KEK加密后 再base64后的结果
    encryptedP String 用户RSA密钥, P 经KEK加密后 再base64后的结果
    encryptedQ String 用户RSA密钥, Q 经KEK加密后 再base64后的结果
    encryptedDp String 用户RSA密钥, Dp 经KEK加密后 再base64后的结果
    encryptedDq String 用户RSA密钥, Dq 经KEK加密后 再base64后的结果
    encryptedQinv String 用户RSA密钥, Qinv 经KEK加密后 再base64后的结果

    CancelKeyDeletion接口

    • 接口描述

    取消删除一个的CMK的计划

    • 请求语法
        {
        	"keyId": "string"
        }
    • 请求参数
    名称 类型 描述 是否必须
    keyId String CMK ID
    • 请求示例
        POST /?action=CancelKeyDeletion
        host: bkm.bj.baidubce.com
        Authorization: bce-auth-v1/96b66fd0b5ed44bd9d9b9d1597a50516/2018-11-05T09:10:38Z/1800//9b0dde4c69046b3f9e3533273b015d8b145de950ef14548364bbabbabaca4e61
        Content-Length: 35
        Content-type: application/json
         
        {
        	"keyId": "5be45b47-38ba-f055-e892-25ff66c91adc"
        }
    • 响应示例
        HTTP/1.1 200 OK
        X-Bce-Request-Id: b2fabd38-69d9-ff68-8437-5506a3567f24
        Date: Mon, 05 Nov 2018 09:10:38 GMT
        Content-Length: 0
        Connection: keep-alive
        Server: BceKms

    CreateKey接口

    • 接口描述

    创建一个CMK

    • 请求语法
        {
        	"description": "string",
        	"keyUsage": "string"
        }
    • 请求参数
    名称 类型 描述 是否必须 默认值
    description String CMK的描述信息 -
    keyUsage String CMK的用途,目前仅支持ENCRYPT_DECRYPT ENCRYPT_DECRYPT
    keySpec String BAIDU_AES_256 / AES_128 / AES_256 / RSA_1024 / RSA_2048 / RSA_4096 BAIDU_AES_256
    protectedBy String SOFTWARE / HSM SOFTWARE
    origin String EXTERNAL / BAIDU_KMS BAIDU_KMS
    • 响应语法
       {
        	"keyMetadata": {
        		"keyId":"string",
        		"creationDate": "string",
        		"keyState": "string",
        		"description": "string",
        		"deletionDate": "string",
        		"keyUsage": "string",
        		"region": "string"
        	}
        }
    • 响应元素
    名称 类型 描述
    keyMetadata KeyMetadata CMK的详细信息
    • 请求示例
        POST /?action=CreateKey
        host: bkm.bj.baidubce.com
        Authorization: bce-auth-v1/96b66fd0b5ed44bd9d9b9d1597a50516/2018-11-05T09:10:38Z/1800//9b0dde4c69046b3f9e3533273b015d8b145de950ef14548364bbabbabaca4e61
        Content-Length: 35
        Content-type: application/json
    • 响应示例
        HTTP/1.1 200 OK
        X-Bce-Request-Id: b2fabd38-69d9-ff68-8437-5506a3567f24
        Date: Mon, 05 Nov 2018 09:10:38 GMT
        Content-Length: 123
        Connection: keep-alive
        Server: BceKms
         
        {
        	"keyMetadata": {
        		"keyId": "5be45b47-38ba-f055-e892-25ff66c91adc",
        		"creationDate": "2018-08-13T13:58:18Z",
        		"keyState": "enabled",
        		"description": "test",
        		"deletionDate": "2018-09-15T13:20:14Z",
        		"keyUsage": "ENCRYPT_DECRYPT",
        		"region": "bj",
                "origin": "string",
                "keySpec": "string",
                "protectedBy": "string"
        	}
        }

    Decrypt接口

    • 接口描述

    解密数据

    • 请求语法
        {
        	"ciphertext": "string"
        }
    • 请求参数
    名称 类型 描述 是否必须
    ciphertext String 待解密的密文,base64格式
    • 响应语法
        {
        	"keyId": "string", 
        	"plaintext": "string"
        }
    • 响应元素
    名称 类型 描述
    plaintext String 解密后的明文,base64格式
    keyId String CMK ID
    • 请求示例
        POST /?action=Decrypt
        host: bkm.bj.baidubce.com
        Authorization: bce-auth-v1/96b66fd0b5ed44bd9d9b9d1597a50516/2018-11-05T09:10:38Z/1800//9b0dde4c69046b3f9e3533273b015d8b145de950ef14548364bbabbabaca4e61
        Content-Length: 35
        Content-type: application/json
         
        {
        	"ciphertext": "Y2lwaGVydGV4dCBjaXBoZXJ0ZXh0IGNpcGhlcnRleHQgaW5mbwo",
        }
    • 响应示例
        HTTP/1.1 200 OK
        X-Bce-Request-Id: b2fabd38-69d9-ff68-8437-5506a3567f24
        Date: Mon, 05 Nov 2018 09:10:38 GMT
        Content-Length: 0
        Connection: keep-alive
        Server: BceKms
         
        {
        	"keyId": "ab0cc017-c50f-f4c4-e125-2779a4d969de"
        	"plaintext": "cGxhaW50ZXh0IHBsYWludGV4dCBwbGFpbnRleHQK"
        }

    DescribeKey接口

    • 接口描述

    获取指定的CMK的详细信息

    • 请求语法
        {
        	"keyId": "string"
        }
    • 请求参数
    名称 类型 描述 是否必须
    keyId String CMK ID
    • 请求语法
        {
        	"keyMetadata": {
        		"keyId":"string",
        		"creationDate": "string",
        		"keyState": "string",
        		"description": "string",
        		"deletionDate": "string",
        		"keyUsage": "string",
        		"region": "string",
        	}
        }
    • 响应元素
    名称 类型 描述
    keyMetadata KeyMetadata CMK的详细信息
    • 请求示例
        POST /?action=DescribeKey
        host: bkm.bj.baidubce.com
        Authorization: bce-auth-v1/96b66fd0b5ed44bd9d9b9d1597a50516/2018-11-05T09:10:38Z/1800//9b0dde4c69046b3f9e3533273b015d8b145de950ef14548364bbabbabaca4e61
        Content-Length: 35
        Content-type: application/json
         
        {
        	"keyId": "5be45b47-38ba-f055-e892-25ff66c91adc"
        }
    • 响应示例
        HTTP/1.1 200 OK
        X-Bce-Request-Id: b2fabd38-69d9-ff68-8437-5506a3567f24
        Date: Mon, 05 Nov 2018 09:10:38 GMT
        Content-Length: 123
        Connection: keep-alive
        Server: BceKms
         
        {
        	"keyMetadata": {
        		"keyId": "5be45b47-38ba-f055-e892-25ff66c91adc",
        		"creationDate": "2018-08-13T13:58:18Z",
        		"keyState": "enabled",
        		"description": "test",
        		"deletionDate": "2018-09-15T13:20:14Z",
        		"keyUsage": "ENCRYPT_DECRYPT",
        		"region": "bj"
        	}
        }

    DisableKey接口

    • 接口描述

    将一个CMK的状态置为diabled状态

    • 请求语法
        {
        	"keyId": "string"
        }
    • 请求参数
    名称 类型 描述 是否必须
    keyId String CMK ID
    • 请求示例
        POST /?action=DisableKey
        host: bkm.bj.baidubce.com
        Authorization: bce-auth-v1/96b66fd0b5ed44bd9d9b9d1597a50516/2018-11-05T09:10:38Z/1800//9b0dde4c69046b3f9e3533273b015d8b145de950ef14548364bbabbabaca4e61
        Content-Length: 35
        Content-type: application/json
         
        {
        	"keyId": "5be45b47-38ba-f055-e892-25ff66c91adc"
        }
    • 响应示例
        HTTP/1.1 200 OK
        X-Bce-Request-Id: <request-id>
        Date: Mon, 05 Nov 2018 09:10:38 GMT
        Content-Length: 0
        Connection: keep-alive
        Server: BceKms

    EnableKey接口

    • 接口描述

    将一个CMK的状态置为enabled状态

    • 请求语法
        {
        	"keyId": "string"
        }
    • 请求参数
    名称 类型 描述 是否必须
    keyId String CMK ID
    • 请求示例
        POST /?action=EnableKey
        host: bkm.bj.baidubce.com
        Authorization: bce-auth-v1/96b66fd0b5ed44bd9d9b9d1597a50516/2018-11-05T09:10:38Z/1800//9b0dde4c69046b3f9e3533273b015d8b145de950ef14548364bbabbabaca4e61
        Content-Length: 35
        Content-type: application/json
         
        {
        	"keyId": "5be45b47-38ba-f055-e892-25ff66c91adc"
        }
    • 响应示例
        HTTP/1.1 200 OK
        X-Bce-Request-Id: b2fabd38-69d9-ff68-8437-5506a3567f24
        Date: Mon, 05 Nov 2018 09:10:38 GMT
        Content-Length: 0
        Connection: keep-alive
        Server: BceKms

    Encrypt接口

    • 接口描述

    使用指定的CMK加密数据

    • 请求语法
        {
        	"keyId": "string",
        	"plaintext": "string"
        }
    • 请求参数
    名称 类型 描述 是否必须
    keyId String CMK ID
    plaintext String 待加密的明文,需要进行base64编码,长度限制:1 - 4096字节
    • 响应语法
        {
        	"ciphertext": "string",
        	"keyId": "string"
        }
    • 响应元素
    名称 类型 描述
    ciphertext String 加密后的密文,base64格式
    keyId String CMK ID
    • 请求示例
        POST /?action=Encrypt
        host: bkm.bj.baidubce.com
        Authorization: bce-auth-v1/96b66fd0b5ed44bd9d9b9d1597a50516/2018-11-05T09:10:38Z/1800//9b0dde4c69046b3f9e3533273b015d8b145de950ef14548364bbabbabaca4e61
        Content-Length: 35
        Content-type: application/json
         
        {
        	"keyId": "ab0cc017-c50f-f4c4-e125-2779a4d969de"
        	"plaintext": "cGxhaW50ZXh0IHBsYWludGV4dCBwbGFpbnRleHQK"
        }
    • 响应示例
        HTTP/1.1 200 OK
        X-Bce-Request-Id: b2fabd38-69d9-ff68-8437-5506a3567f24
        Date: Mon, 05 Nov 2018 09:10:38 GMT
        Content-Length: 0
        Connection: keep-alive
        Server: BceKms
         
        {
        	"keyId": "ab0cc017-c50f-f4c4-e125-2779a4d969de"
        	"ciphertext": "Y2lwaGVydGV4dCBjaXBoZXJ0ZXh0IGNpcGhlcnRleHQgaW5mbwo",
        }

    GenerateDataKey接口

    • 接口描述

    使用指定的CMK生成Data Key

    • 请求语法
        {
        	"keyId": "string",
        	"keySpec": "string",
        	"numberOfBytes": number
        }
    • 请求参数
    名称 类型 描述 是否必须
    keyId String CMK ID
    keySpec String data key 的长度,有两个可选的值,AES_128和AES_256,分别代表128字节和256字节
    numberOfBytes Interger data key的长度,4096字节

    说明: 当numberOfBytes 和 keySpec都设置时,以numberOfBytes为准

    • 响应语法
        {
        	"ciphertext": "string",
        	"keyId": "string", 
        	"plaintext": "string"
        }
    • 响应元素
    名称 类型 描述
    keyId String CMK ID
    plaintext String 解密后的明文,base64格式
    ciphertext String 加密后的密文,base64格式
    • 请求示例
        POST /?action=GenerateDataKey
        host: bkm.bj.baidubce.com
        Authorization: bce-auth-v1/96b66fd0b5ed44bd9d9b9d1597a50516/2018-11-05T09:10:38Z/1800//9b0dde4c69046b3f9e3533273b015d8b145de950ef14548364bbabbabaca4e61
        Content-Length: 35
        Content-type: application/json
         
        {
        	"keyId": "5be45b47-38ba-f055-e892-25ff66c91adc",
        	"numberOfBytes": 32
        }
    • 响应示例
        HTTP/1.1 200 OK
        X-Bce-Request-Id: b2fabd38-69d9-ff68-8437-5506a3567f24
        Date: Mon, 05 Nov 2018 09:10:38 GMT
        Content-Length: 0
        Connection: keep-alive
        Server: BceKms
         
        {
        	"ciphertext": "Y2lwaGVydGV4dCBjaXBoZXJ0ZXh0IGNpcGhlcnRleHQgaW5mbwo",
        	"keyId": "5be45b47-38ba-f055-e892-25ff66c91adc",
        	"plaintext": "cGxhaW50ZXh0IHBsYWludGV4dCBwbGFpbnRleHQK"
        }

    ListKeys接口

    • 接口描述

    罗列出本区域用户所拥有的CMK

    • 请求语法
        {
        	"limit": number, 
        	"marker": "string"
        }
    • 请求参数
    名称 类型 描述 是否必须 默认值
    limit Integer 指明返回的KeyId的数目,默认是100,取值范围是1-1000,如果符合条件的key的数目小于limit的值,则返回符合条件的数目的KeyId 100
    marker String CMK位置的标记 ""
    • 响应语法
        {
        	"keys": [
        		{
        			"keyId": "string"
        		},
        		{
        			"keyId": "string"
        		}
        	],
        	"nextMarker": "string",
        	"truncated": boolean 
        }
    • 响应元素
    名称 类型 描述
    keys KeyListEntry的数组 CMK的列表
    nextMarker String CMK Id 列表的下一个位置
    truncated Boolean 表明是否还有更多的master key id没有返回
    • 请求示例
        POST /?action=ListKeys
        host: bkm.bj.baidubce.com
        Authorization: bce-auth-v1/96b66fd0b5ed44bd9d9b9d1597a50516/2018-11-05T09:10:38Z/1800//9b0dde4c69046b3f9e3533273b015d8b145de950ef14548364bbabbabaca4e61
        Content-Length: 35
        Content-type: application/json
    • 响应示例
        HTTP/1.1 200 OK
        X-Bce-Request-Id: b2fabd38-69d9-ff68-8437-5506a3567f24
        Date: Mon, 05 Nov 2018 09:10:38 GMT
        Content-Length: 0
        Connection: keep-alive
        Server: BceKms
         
        {
        	"keys": [
        		{
        			"keyId": "df0cc217-c50f-f4c4-e125-2779b4d94rt6"
        		},
        		{
        			"keyId": "ab0cc217-c50f-f4c4-e125-2779b4d969de"
        		}
        	],
        	"truncated": false
        }

    ScheduleKeyDeletion接口

    • 接口描述

    计划删除一个CMK,会在到达指定时间后的24小时内删除

    • 请求语法
        {
        	"keyId": "string"
        	"pendingWindowInDays": number
        }
    • 请求参数
    名称 类型 描述 是否必须 默认值
    keyId String CMK ID -
    pendingWindowInDays Integer 等待删除的时间,最少7天,最多30天,默认30天 30
    • 响应参数
    名称 类型 描述
    keyId String CMK ID
    deletionDate String 计划删除的时间
    • 请求示例
        POST /?action=ScheduleKeyDeletion
        host: bkm.bj.baidubce.com
        Authorization: bce-auth-v1/96b66fd0b5ed44bd9d9b9d1597a50516/2018-11-05T09:10:38Z/1800//9b0dde4c69046b3f9e3533273b015d8b145de950ef14548364bbabbabaca4e61
        Content-Length: 35
        Content-type: application/json
         
        {
        	"keyId": "5be45b47-38ba-f055-e892-25ff66c91adc"
        	"pendingWindowInDays": 10
        }
    • 响应示例
        HTTP/1.1 200 OK
        X-Bce-Request-Id: b2fabd38-69d9-ff68-8437-5506a3567f24
        Date: Mon, 05 Nov 2018 09:10:38 GMT
        Content-Length: 0
        Connection: keep-alive
        Server: BceKms
         
        {
        	"deletionDate": "2018-08-15T13:58:18Z",
        	"keyId": "5be45b47-38ba-f055-e892-25ff66c91adc"
        }

    GetParametersForImport接口

    • 接口描述

    获取导入密钥材料

    • 请求语法
        {
        	"keyId": "string",
            "wrappingAlgorithm" : "string",
            "wrappingKeySpec" : "string",
            "publicKeyEncoding" : "string"
        }
    • 请求参数
    名称 类型 描述 是否必须 默认值
    keyId String CMK ID -
    publicKeyEncoding String 返回的公钥编码格式(RAW_HEX, BASE64, PEM) RAW_HEX
    wrappingAlgorithm String 用户加密本地密钥时算法 RSAES_PKCS1_V1_5
    wrappingAlgorithm String 返回的公钥类型 RSA_2048
    • 响应参数
    名称 类型 描述
    keyId String CMK ID
    deletionDate String 计划删除的时间
    • 请求示例
        POST /?action=GetParametersForImport
        host: bkm.bj.baidubce.com
        Authorization: bce-auth-v1/96b66fd0b5ed44bd9d9b9d1597a50516/2018-11-05T09:10:38Z/1800//9b0dde4c69046b3f9e3533273b015d8b145de950ef14548364bbabbabaca4e61
        Content-Length: 35
        Content-type: application/json
         
        {
        	"keyId": "5be45b47-38ba-f055-e892-25ff66c91adc"
            "publicKeyEncoding":"RAW_HEX",
        	"wrappingAlgorithm": "RSAES_OAEP_SHA_1",
            "wrappingKeySpec": "RSA_2048"
        }
    • 响应示例
        HTTP/1.1 200 OK
        X-Bce-Request-Id: b2fabd38-69d9-ff68-8437-5506a3567f24
        Date: Mon, 05 Nov 2018 09:10:38 GMT
        Content-Length: 0
        Connection: keep-alive
        Server: BceKms
         
        {
            "keyId": "5be45b47-38ba-f055-e892-25ff66c91adc",
            "importToken": "xxxxxxx",
            "tokenValidTill": "2020-02-02T00:00:02Z",
            "publicKey": "xxxxxxxx",
        }

    ImportKey接口

    • 接口描述

    导入对称密钥

    • 请求语法
        {
            "keyId" : "string",
            "importToken" : "string",
            "encryptedKey" : "string",   
            "keySpec" : "string",
            "keyUsage" : "string"
        }
    • 请求参数
    名称 类型 描述 是否必须 默认值
    keyId String CMK ID -
    importToken String 令牌
    encryptedKey String 加密密钥材料
    keySpec String 密钥类型
    keyUsage String 密钥用途 ENCRYPT_DECRYPT
    • 响应参数
    名称 类型 描述
    • 请求示例
        POST /?action=ImportKey
        host: bkm.bj.baidubce.com
        Authorization: bce-auth-v1/96b66fd0b5ed44bd9d9b9d1597a50516/2018-11-05T09:10:38Z/1800//9b0dde4c69046b3f9e3533273b015d8b145de950ef14548364bbabbabaca4e61
        Content-Length: 35
        Content-type: application/json
         
        {
        	 "keyId" : "5be45b47-38ba-f055-e892-25ff66c91adc",
             "importToken" : "912E0F4BFF6839C2DFB30FE174DBBC4F6F6D4086D6A605D2C4B6E8197B77A3CD2854E2A55EFCBFDD7FAF9658C5A10921",
             "encryptedKey" : "rN+UZbBO0IvE4KEzPU1p8j1M77DlE3yC8I9X1KFywYsl9UrWQdmU3uxyWGkh9/KH4l3wKyia5U6EP1QpvyKfzfFaBocVZQdzKRUKUhunHogde59Kdiar7Q3wLex8FhQ71DChxw9fbXIJOfOdlF39xilLy4yaZdRgsUnO0EkNn/9jB0CMTvXRdmp2TsS34r3KG7rFJ1ilyrmrZmeXDf497JKPOtokzOegfNhFMZuDNIzBKvq7bn1cIY80MJcX49CHZJfodHuyyKjKke+uOBJ7+2/xMLigd8TYrs3SzAgiC7Rr7B32kcw/A+JxVzMJ/IregWv+viQWoeo+8Hld9JWoRw==",           
             "keySpec" : "AES_128",
             "keyUsage" : "ENCRYPT_DECRYPT"
        }
    • 响应示例
        HTTP/1.1 200 OK
        X-Bce-Request-Id: b2fabd38-69d9-ff68-8437-5506a3567f24
        Date: Mon, 05 Nov 2018 09:10:38 GMT
        Content-Length: 0
        Connection: keep-alive
        Server: BceKms
         
        {}

    ImportAsymmetricKey接口

    • 接口描述

    导入非对称密钥

    • 请求语法
        {
        	"keyId" : "string",
            "importToken" : "string",
            "asymmetricKeySpec" : "string",
            "asymmetricKeyUsage" : "string",
            "encryptedKeyEncryptionKey" : "string",
            "encryptedRsaKey" : {
                    "publicKeyDer": "string",
                    "encryptedD": "string",
                    "encryptedP": "string",
                    "encryptedQ": "string",
                    "encryptedDp": "string",
                    "encryptedDq": "string",
                    "encryptedQinv": "string"
             }
        }
    • 请求参数
    名称 类型 描述 是否必须 默认值
    keyId String CMK ID -
    importToken String 令牌
    asymmetricKeySpec String 密钥类型
    asymmetricKeyUsage String 密钥用途
    encryptedKeyEncryptionKey String 信封密钥密文
    encryptedRsaKey EncryptedRsaKey 用户RSA密钥
    • 响应参数
    名称 类型 描述
    • 请求示例
        POST /?action=ImportAsymmetricKey
        host: bkm.bj.baidubce.com
        Authorization: bce-auth-v1/96b66fd0b5ed44bd9d9b9d1597a50516/2018-11-05T09:10:38Z/1800//9b0dde4c69046b3f9e3533273b015d8b145de950ef14548364bbabbabaca4e61
        Content-Length: 35
        Content-type: application/json
         
        {
             "keyId" : "5be45b47-38ba-f055-e892-25ff66c91adc",
             "importToken" : "912E0F4BFF6839C2DFB30FE174DBBC4F6F6D4086D6A605D2C4B6E8197B77A3CD2854E2A55EFCBFDD7FAF9658C5A10921",
             "asymmetricKeySpec" : "RSA_1024",
             "asymmetricKeyUsage" : "ENCRYPT_DECRYPT",
             "encryptedKeyEncryptionKey" : "rN+UZbBO0IvE4KEzPU1p8j1M77DlE3yC8I9X1KFywYsl9UrWQdmU3uxyWGkh9/KH4l3wKyia5U6EP1QpvyKfzfFaBocVZQdzKRUKUhunHogde59Kdiar7Q3wLex8FhQ71DChxw9fbXIJOfOdlF39xilLy4yaZdRgsUnO0EkNn/9jB0CMTvXRdmp2TsS34r3KG7rFJ1ilyrmrZmeXDf497JKPOtokzOegfNhFMZuDNIzBKvq7bn1cIY80MJcX49CHZJfodHuyyKjKke+uOBJ7+2/xMLigd8TYrs3SzAgiC7Rr7B32kcw/A+JxVzMJ/IregWv+viQWoeo+8Hld9JWoRw==",   
             "encryptedRsaKey" : {
                    "publicKeyDer": "MIGJAoGBALmF0NlX6MF8PS7RoObVItvzpYEkKarK8aDMUXES2ZJ9WBZrwGzhRIGkQ9BUV1EGX0Ig8qPQPFU+u0/V94SaKldND5KjUYpszJb0EJLeymTc+BAe2u/fhZe8sw90qT+CwgOsPVcacHMQHDsvx70nBg75AkXV/lQ1ZSSnKuE7rJFHAgMBAAE=",
                    "encryptedD": "BYXZIAYX2Rvud9k7uVmdcgOOtNVteQ+EA6WyjRmAcl4wG5DdO2QjQ+4vovCS5msIBfXNNt7h4EnrDr5xPgei2TcajrvA2vavQDxpz7QIHS1+XxrLkIlT/FArDH0ukU+Koj4H6dcquapxaZwELkYQ4xe7OqoRTOcVFTFrqDCgxGY=",
                    "encryptedP": "X9FEWmsnNggt5thO4kYgRfmbdGuhgCD+IB5hvo2nbqZhL+G3ATTKu9TKy4N9FmR+o7miz0VVgIwrCuqthnTB4A==",
                    "encryptedQ": "r8KdOOzsbx1FCzZqWIPC0qaufH7X/hOeYkso1njEEyJNnSsgC4ie/ciYrgz0VrgNFqcEwPNmr0UlE3nEKFLS4g==",
                    "encryptedDp": "EN3uW94pNe72cqpU4NY9pg0mJ0VQCE1n6Sj4v2AZXntAW40QUyRgrotD9jwavfsAlafob9fFCv2ClGnjqW6xSQ==",
                    "encryptedDq": "h9grzSBaa4IJpLr5EioM6CINmb5YMQvCe7PWIVU5k41evV/QE2VQC81tAXmls95ULZuWdYgw+lry2emA72NagQ==",
                    "encryptedQinv": "FYU2csVDSVknfcM1V+f1BFgoGzQC41uqPoZMfKIY3K1rDjCXeFIqH7fQlV3E7o4vaPm43+a/dkifW3diCtzg8w=="
             }
        }
    • 响应示例
        HTTP/1.1 200 OK
        X-Bce-Request-Id: b2fabd38-69d9-ff68-8437-5506a3567f24
        Date: Mon, 05 Nov 2018 09:10:38 GMT
        Content-Length: 0
        Connection: keep-alive
        Server: BceKms
         
        {}
    上一篇
    简介
    下一篇
    SDK