| Package | Description | 
|---|---|
| com.tencentcloudapi.kms.v20190118 | |
| com.tencentcloudapi.kms.v20190118.models | 
| Modifier and Type | Method and Description | 
|---|---|
| ImportKeyMaterialResponse | KmsClient. ImportKeyMaterial(ImportKeyMaterialRequest req)用于导入密钥材料。只有类型为EXTERNAL 的CMK 才可以导入,导入的密钥材料使用 GetParametersForImport 获取的密钥进行加密。可以为指定的 CMK 重新导入密钥材料,并重新指定过期时间,但必须导入相同的密钥材料。CMK 密钥材料导入后不可以更换密钥材料。导入的密钥材料过期或者被删除后,指定的CMK将无法使用,需要再次导入相同的密钥材料才能正常使用。CMK是独立的,同样的密钥材料可导入不同的 CMK 中,但使用其中一个 CMK 加密的数据无法使用另一个 CMK解密。
只有Enabled 和 PendingImport状态的CMK可以导入密钥材料。 | 
| Constructor and Description | 
|---|
| ImportKeyMaterialRequest(ImportKeyMaterialRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
Copyright © 2025. All rights reserved.