| Package | Description | 
|---|---|
| com.tencentcloudapi.cvm.v20170312 | |
| com.tencentcloudapi.cvm.v20170312.models | 
| Modifier and Type | Method and Description | 
|---|---|
| ImportKeyPairResponse | CvmClient. ImportKeyPair(ImportKeyPairRequest req)本接口 (ImportKeyPair) 用于导入密钥对。
 本接口的功能是将密钥对导入到用户账户,并不会自动绑定到实例。如需绑定可以使用[AssociateInstancesKeyPairs](https://cloud.tencent.com/document/product/213/15698)接口。
 需指定密钥对名称以及该密钥对的公钥文本。
 如果用户只有私钥,可以通过 `SSL` 工具将私钥转换成公钥后再导入。 | 
| Constructor and Description | 
|---|
| ImportKeyPairResponse(ImportKeyPairResponse 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.