Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to import the public key portion of a RSA key pair generated by other tools

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Editor to share with you how to import the public key part of the RSA key pair generated by other tools, I believe most people do not know much about it, so share this article for your reference, I hope you will learn a lot after reading this article, let's learn about it!

The content of this article is about importing the public key of RSA key pair generated by other tools, there is a certain reference value, friends in need can refer to it, I hope it will be helpful to you.

ImportKeyPair

Import the public key portion of the RSA key pair generated by other tools. After importing the key pair, we will keep the public key part for you. You need to keep the private key part of the key pair properly.

Description

When calling this interface, you need to be aware of:

Your maximum number of key pairs in each region is 500 pairs.

The imported key pair must support any of the following encryption methods:

Rsa

Dsa

Ssh-rsa

Ssh-dss

Ecdsa

Ssh-rsa-cert-v00@openssh.com

Ssh-dss-cert-v00@openssh.com

Ssh-rsa-cert-v01@openssh.com

Ssh-dss-cert-v01@openssh.com

Ecdsa-sha2-nistp256-cert-v01@openssh.com

Ecdsa-sha2-nistp384-cert-v01@openssh.com

Ecdsa-sha2-nistp521-cert-v01@openssh.com

Request parameter

Return parameters

Example

Request example

Https://ecs.aliyuncs.com/?Action=ImportKeyPair&RegionId=cn-qingdao&PublicKeyBody=xxxxxxxxxxxxxx&KeyPairName=test&

Return the example

XML format

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E test 89:f0:ba:62:ac:b8:aa:e1:61:5e:fd:81:69:86:6d:6b:f0:c0:5a:d7

JSON format

{"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"KeyPairName": "test"KeyPairFingerPrint": "89:f0:ba:62:ac:b8:aa:e1:61:5e:fd:81:69:86:6d:6b:f0:c0:5a:d7"}

Error code

The following are the error codes specific to this API. For more error codes, please visit the API error Center.

The above is how to import all the contents of the public key part of the RSA key pair generated by other tools, thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report