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