(Recommended) Creating a Key Pair on the Management Console
Scenarios
You can use the management console to create a key pair. ECS stores the public key and you store the private key.
Procedure
- Log in to the management console.
- Click in the upper left corner and select your region and project.
- Click . Under Compute, click Elastic Cloud Server.
- In the navigation pane on the left, choose Key Pair.
- On the displayed page, click Create Key Pair.
Key pairs include private key pairs and account key pairs. Private key pairs are only available to the user itself. Account key pairs are available to all users under the account.
You can create key pairs based on your needs.
- Configure the following parameters:
- Enter a key pair name.
- Select a type.
- Confirm KMS encryption.
This option is displayed only if you select I agree to host the private key of the key pair.
- If you do not select I agree to host the private key of the key pair, you can download the private key only once for security purposes. Please keep the private key secure.
If the key pair is lost, you can reset a key pair and bind it to the ECS.
- If you select I agree to host the private key of the key pair, you can export the managed private key as required. For details, see Exporting a Private Key.
- If you do not select I agree to host the private key of the key pair, you can download the private key only once for security purposes. Please keep the private key secure.
- Select I have read and agree to the Key Pair Service Disclaimer.
- Click OK.
Related Operations
- If your private key file is lost, you can Resetting a Key Pair.
- If your private key file is leaked, you can use a new key pair to replace the public key of the ECS.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot