tencentcloud-sdk-nodejs-kms 4.0.618 → 4.0.619
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +252 -0
- package/SERVICE_CHANGELOG.md +301 -151
- package/package.json +1 -1
- package/products.md +18 -18
- package/src/services/kms/v20190118/kms_models.ts +56 -230
- package/tencentcloud/services/kms/v20190118/kms_models.d.ts +56 -56
|
@@ -59,9 +59,9 @@ export interface DescribeWhiteBoxKeyDetailsResponse {
|
|
|
59
59
|
*/
|
|
60
60
|
KeyInfos: Array<WhiteboxKeyInfo>;
|
|
61
61
|
/**
|
|
62
|
-
|
|
62
|
+
* 白盒密钥总数。
|
|
63
63
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
64
|
-
|
|
64
|
+
*/
|
|
65
65
|
TotalCount: number;
|
|
66
66
|
/**
|
|
67
67
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -202,9 +202,9 @@ export interface WhiteboxKeyInfo {
|
|
|
202
202
|
*/
|
|
203
203
|
ResourceId: string;
|
|
204
204
|
/**
|
|
205
|
-
|
|
205
|
+
* 是否有设备指纹与当前密钥绑定
|
|
206
206
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
207
|
-
|
|
207
|
+
*/
|
|
208
208
|
DeviceFingerprintBind: boolean;
|
|
209
209
|
}
|
|
210
210
|
/**
|
|
@@ -337,9 +337,9 @@ export interface ListKeyDetailResponse {
|
|
|
337
337
|
*/
|
|
338
338
|
TotalCount: number;
|
|
339
339
|
/**
|
|
340
|
-
|
|
340
|
+
* 返回的属性信息列表。
|
|
341
341
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
342
|
-
|
|
342
|
+
*/
|
|
343
343
|
KeyMetadatas: Array<KeyMetadata>;
|
|
344
344
|
/**
|
|
345
345
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -527,9 +527,9 @@ export interface DecryptResponse {
|
|
|
527
527
|
*/
|
|
528
528
|
KeyId: string;
|
|
529
529
|
/**
|
|
530
|
-
|
|
530
|
+
* 若调用时未提供 EncryptionPublicKey,该字段值为 Base64 编码的明文,需进行 Base64 解码以获取明文。
|
|
531
531
|
若调用时提供了 EncryptionPublicKey,则该字段值为使用 EncryptionPublicKey 公钥进行非对称加密后的 Base64 编码的密文。需在 Base64 解码后,使用用户上传的公钥对应的私钥进行进一步解密,以获取明文。
|
|
532
|
-
|
|
532
|
+
*/
|
|
533
533
|
Plaintext: string;
|
|
534
534
|
/**
|
|
535
535
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -553,14 +553,14 @@ export interface CreateWhiteBoxKeyResponse {
|
|
|
553
553
|
*/
|
|
554
554
|
KeyId: string;
|
|
555
555
|
/**
|
|
556
|
-
|
|
556
|
+
* 标签操作的返回码. 0: 成功;1: 内部错误;2: 业务处理错误
|
|
557
557
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
558
|
-
|
|
558
|
+
*/
|
|
559
559
|
TagCode: number;
|
|
560
560
|
/**
|
|
561
|
-
|
|
561
|
+
* 标签操作的返回信息
|
|
562
562
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
563
|
-
|
|
563
|
+
*/
|
|
564
564
|
TagMsg: string;
|
|
565
565
|
/**
|
|
566
566
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -625,9 +625,9 @@ export interface EncryptByWhiteBoxResponse {
|
|
|
625
625
|
*/
|
|
626
626
|
export interface DescribeKeysResponse {
|
|
627
627
|
/**
|
|
628
|
-
|
|
628
|
+
* 返回的属性信息列表
|
|
629
629
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
630
|
-
|
|
630
|
+
*/
|
|
631
631
|
KeyMetadatas: Array<KeyMetadata>;
|
|
632
632
|
/**
|
|
633
633
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -669,9 +669,9 @@ export interface ReEncryptRequest {
|
|
|
669
669
|
*/
|
|
670
670
|
export interface ListKeysResponse {
|
|
671
671
|
/**
|
|
672
|
-
|
|
672
|
+
* CMK列表数组
|
|
673
673
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
674
|
-
|
|
674
|
+
*/
|
|
675
675
|
Keys: Array<Key>;
|
|
676
676
|
/**
|
|
677
677
|
* CMK的总数量
|
|
@@ -789,9 +789,9 @@ export interface AlgorithmInfo {
|
|
|
789
789
|
*/
|
|
790
790
|
export interface GetRegionsResponse {
|
|
791
791
|
/**
|
|
792
|
-
|
|
792
|
+
* 可用region列表
|
|
793
793
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
794
|
-
|
|
794
|
+
*/
|
|
795
795
|
Regions: Array<string>;
|
|
796
796
|
/**
|
|
797
797
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -807,9 +807,9 @@ export interface GenerateDataKeyResponse {
|
|
|
807
807
|
*/
|
|
808
808
|
KeyId: string;
|
|
809
809
|
/**
|
|
810
|
-
|
|
810
|
+
* 若调用时未提供 EncryptionPublicKey,该字段值为生成的数据密钥 DataKey 的 Base64 编码的明文,需进行 Base64 解码以获取 DataKey 明文。
|
|
811
811
|
若调用时提供了 EncryptionPublicKey,则该字段值为使用 EncryptionPublicKey 公钥进行非对称加密后的 Base64 编码的密文。需在 Base64 解码后,使用用户上传的公钥对应的私钥进行进一步解密,以获取 DataKey 明文。
|
|
812
|
-
|
|
812
|
+
*/
|
|
813
813
|
Plaintext: string;
|
|
814
814
|
/**
|
|
815
815
|
* 数据密钥DataKey加密后的密文,用户需要自行保存该密文,KMS不托管用户的数据密钥。可以通过Decrypt接口从CiphertextBlob中获取数据密钥DataKey明文
|
|
@@ -902,9 +902,9 @@ export interface CreateKeyResponse {
|
|
|
902
902
|
*/
|
|
903
903
|
CreateTime: number;
|
|
904
904
|
/**
|
|
905
|
-
|
|
905
|
+
* CMK的描述
|
|
906
906
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
907
|
-
|
|
907
|
+
*/
|
|
908
908
|
Description: string;
|
|
909
909
|
/**
|
|
910
910
|
* CMK的状态
|
|
@@ -915,19 +915,19 @@ export interface CreateKeyResponse {
|
|
|
915
915
|
*/
|
|
916
916
|
KeyUsage: string;
|
|
917
917
|
/**
|
|
918
|
-
|
|
918
|
+
* 标签操作的返回码. 0: 成功;1: 内部错误;2: 业务处理错误
|
|
919
919
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
920
|
-
|
|
920
|
+
*/
|
|
921
921
|
TagCode: number;
|
|
922
922
|
/**
|
|
923
|
-
|
|
923
|
+
* 标签操作的返回信息
|
|
924
924
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
925
|
-
|
|
925
|
+
*/
|
|
926
926
|
TagMsg: string;
|
|
927
927
|
/**
|
|
928
|
-
|
|
928
|
+
* HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)
|
|
929
929
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
930
|
-
|
|
930
|
+
*/
|
|
931
931
|
HsmClusterId: string;
|
|
932
932
|
/**
|
|
933
933
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1012,43 +1012,43 @@ export interface GetServiceStatusResponse {
|
|
|
1012
1012
|
*/
|
|
1013
1013
|
ServiceEnabled?: boolean;
|
|
1014
1014
|
/**
|
|
1015
|
-
|
|
1015
|
+
* 服务不可用类型: 0-未购买,1-正常, 2-欠费停服, 3-资源释放
|
|
1016
1016
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1017
|
-
|
|
1017
|
+
*/
|
|
1018
1018
|
InvalidType?: number;
|
|
1019
1019
|
/**
|
|
1020
1020
|
* 0-普通版,1-旗舰版
|
|
1021
1021
|
*/
|
|
1022
1022
|
UserLevel?: number;
|
|
1023
1023
|
/**
|
|
1024
|
-
|
|
1024
|
+
* 旗舰版到期时间(Epoch Unix Timestamp)。
|
|
1025
1025
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1026
|
-
|
|
1026
|
+
*/
|
|
1027
1027
|
ProExpireTime?: number;
|
|
1028
1028
|
/**
|
|
1029
|
-
|
|
1029
|
+
* 旗舰版是否自动续费:0-不自动续费,1-自动续费
|
|
1030
1030
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1031
|
-
|
|
1031
|
+
*/
|
|
1032
1032
|
ProRenewFlag?: number;
|
|
1033
1033
|
/**
|
|
1034
|
-
|
|
1034
|
+
* 旗舰版购买记录的唯一性标识。如果为开通旗舰版,则返回值为空
|
|
1035
1035
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1036
|
-
|
|
1036
|
+
*/
|
|
1037
1037
|
ProResourceId?: string;
|
|
1038
1038
|
/**
|
|
1039
|
-
|
|
1039
|
+
* 是否开通 KMS 托管版
|
|
1040
1040
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1041
|
-
|
|
1041
|
+
*/
|
|
1042
1042
|
ExclusiveVSMEnabled?: boolean;
|
|
1043
1043
|
/**
|
|
1044
|
-
|
|
1044
|
+
* 是否开通 KMS 独享版
|
|
1045
1045
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1046
|
-
|
|
1046
|
+
*/
|
|
1047
1047
|
ExclusiveHSMEnabled?: boolean;
|
|
1048
1048
|
/**
|
|
1049
|
-
|
|
1049
|
+
* KMS 订阅信息。
|
|
1050
1050
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1051
|
-
|
|
1051
|
+
*/
|
|
1052
1052
|
SubscriptionInfo?: string;
|
|
1053
1053
|
/**
|
|
1054
1054
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1064,9 +1064,9 @@ export interface DeviceFingerprint {
|
|
|
1064
1064
|
*/
|
|
1065
1065
|
Identity: string;
|
|
1066
1066
|
/**
|
|
1067
|
-
|
|
1067
|
+
* 描述信息,如:IP,设备名称等,最大1024字节
|
|
1068
1068
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1069
|
-
|
|
1069
|
+
*/
|
|
1070
1070
|
Description?: string;
|
|
1071
1071
|
}
|
|
1072
1072
|
/**
|
|
@@ -1200,28 +1200,28 @@ export interface KeyMetadata {
|
|
|
1200
1200
|
*/
|
|
1201
1201
|
NextRotateTime: number;
|
|
1202
1202
|
/**
|
|
1203
|
-
|
|
1203
|
+
* 计划删除的时间
|
|
1204
1204
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1205
|
-
|
|
1205
|
+
*/
|
|
1206
1206
|
DeletionDate: number;
|
|
1207
1207
|
/**
|
|
1208
|
-
|
|
1208
|
+
* CMK 密钥材料类型,由KMS创建的为: TENCENT_KMS, 由用户导入的类型为:EXTERNAL
|
|
1209
1209
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1210
|
-
|
|
1210
|
+
*/
|
|
1211
1211
|
Origin: string;
|
|
1212
1212
|
/**
|
|
1213
|
-
|
|
1213
|
+
* 在Origin为 EXTERNAL 时有效,表示密钥材料的有效日期, 0 表示不过期
|
|
1214
1214
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1215
|
-
|
|
1215
|
+
*/
|
|
1216
1216
|
ValidTo: number;
|
|
1217
1217
|
/**
|
|
1218
1218
|
* 资源ID,格式:creatorUin/$creatorUin/$keyId
|
|
1219
1219
|
*/
|
|
1220
1220
|
ResourceId: string;
|
|
1221
1221
|
/**
|
|
1222
|
-
|
|
1222
|
+
* HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)
|
|
1223
1223
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1224
|
-
|
|
1224
|
+
*/
|
|
1225
1225
|
HsmClusterId: string;
|
|
1226
1226
|
}
|
|
1227
1227
|
/**
|
|
@@ -1656,9 +1656,9 @@ export interface PostQuantumCryptoDecryptResponse {
|
|
|
1656
1656
|
*/
|
|
1657
1657
|
KeyId?: string;
|
|
1658
1658
|
/**
|
|
1659
|
-
|
|
1659
|
+
* 若调用时未提供 EncryptionPublicKey,该字段值为 Base64 编码的明文,需进行 Base64 解码以获取明文。
|
|
1660
1660
|
若调用时提供了 EncryptionPublicKey,则该字段值为使用 EncryptionPublicKey 公钥进行非对称加密后的 Base64 编码的密文。需在 Base64 解码后,使用用户上传的公钥对应的私钥进行进一步解密,以获取明文。
|
|
1661
|
-
|
|
1661
|
+
*/
|
|
1662
1662
|
PlainText?: string;
|
|
1663
1663
|
/**
|
|
1664
1664
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1692,9 +1692,9 @@ export interface UnbindCloudResourceResponse {
|
|
|
1692
1692
|
*/
|
|
1693
1693
|
export interface DescribeKeyResponse {
|
|
1694
1694
|
/**
|
|
1695
|
-
|
|
1695
|
+
* 密钥属性信息
|
|
1696
1696
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1697
|
-
|
|
1697
|
+
*/
|
|
1698
1698
|
KeyMetadata: KeyMetadata;
|
|
1699
1699
|
/**
|
|
1700
1700
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|