tencentcloud-sdk-nodejs-kms 4.1.66 → 4.1.69
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/package.json
CHANGED
|
@@ -405,7 +405,7 @@ export interface GenerateDataKeyRequest {
|
|
|
405
405
|
*/
|
|
406
406
|
EncryptionAlgorithm?: string;
|
|
407
407
|
/**
|
|
408
|
-
* 表示生成的数据密钥是否被KMS托管。1:表示被KMS托管保存,0:表示KMS
|
|
408
|
+
* 表示生成的数据密钥是否被KMS托管。1:表示被KMS托管保存,0:表示KMS不托管。
|
|
409
409
|
*/
|
|
410
410
|
IsHostedByKms?: number;
|
|
411
411
|
/**
|
|
@@ -417,9 +417,7 @@ export interface GenerateDataKeyRequest {
|
|
|
417
417
|
*/
|
|
418
418
|
Description?: string;
|
|
419
419
|
/**
|
|
420
|
-
* KMS 独享版对应的 HSM 集群 ID
|
|
421
|
-
当KeyId 没有传入时有效,如果指定HsmClusterId,会默认在此集群下生成根密钥,然后利用创建的根密钥产生数据密钥。
|
|
422
|
-
如果没有指定HsmClusterId,则会在公有云共享集群下创建一个根密钥,然后利用创建的根密钥产生数据密钥。
|
|
420
|
+
* KMS 独享版对应的 HSM 集群 ID。如果指定HsmClusterId,表明根密钥在此集群里,会校验KeyId是否和HsmClusterId对应。
|
|
423
421
|
*/
|
|
424
422
|
HsmClusterId?: string;
|
|
425
423
|
}
|
|
@@ -980,16 +978,12 @@ export interface ImportDataKeyRequest {
|
|
|
980
978
|
*/
|
|
981
979
|
Description?: string;
|
|
982
980
|
/**
|
|
983
|
-
*
|
|
984
|
-
|
|
985
|
-
如果没有指定独享集群HsmClusterId,则会在公有云共享集群下创建一个根密钥,根据生成的根密钥加密数据密钥。
|
|
986
|
-
如果KeyId 不为空,根据指定的根密钥加密数据密钥。
|
|
981
|
+
* 当导入密文数据密钥时,无需传入根密钥,如果传入会校验此KeyId是否和密文中一致。
|
|
982
|
+
当导入明文数据密钥,KeyId 不能为空,会根据指定的根密钥加密数据密钥。
|
|
987
983
|
*/
|
|
988
984
|
KeyId?: string;
|
|
989
985
|
/**
|
|
990
|
-
* KMS 独享版对应的 HSM 集群 ID
|
|
991
|
-
当KeyId 没有传入时有效,如果指定了独享集群HsmClusterId,则会在独享集群下创建一个根密钥,根据产生的根密钥加密数据密钥。
|
|
992
|
-
如果没有指定独享集群HsmClusterId,则会在公有云共享集群下创建一个根密钥,根据产生的根密钥加密数据密钥。
|
|
986
|
+
* KMS 独享版对应的 HSM 集群 ID。如果指定HsmClusterId,表明根密钥在此集群里,会校验KeyId是否和HsmClusterId对应。
|
|
993
987
|
*/
|
|
994
988
|
HsmClusterId?: string;
|
|
995
989
|
}
|