Importing a Private Key
To facilitate local private key management, you can import the private key to the KPS console for centralized management of your private keys. The managed private keys are encrypted by the keys provided by KMS, ensuring security for storage, import, and export of the private keys. You can download the private keys from the management console whenever you need. To ensure the security of the private keys, keep the downloaded private keys properly.
This section describes how to import a key pair on the KPS console.
Prerequisites
The private key file matching the public key has been obtained.
Constraints
- Only the private key that matches a public key can be imported for the public key.
- The private key to be uploaded or copied to the text box must be in the .pem format. If it is in the .ppk format, convert it by referring to How Do I Convert the Format of a Private Key File?.
- When you enable the encryption function for a key pair, KMS automatically creates a default key kps/default for the key pair.
- When selecting an encryption key, you can select an existing encryption key or click View Key List to create an encryption key.
Procedure
- Log in to the management console.
- Click in the upper left corner of the management console and select a region or project.
- Click . Choose .
- In the navigation pane on the left, click Key Pair Service.
- Click Import Private Key in the row where the target public key is located. Set parameters in the Import Private Key dialog box, as shown in Figure 1.
- Click Select File, select a local .pem private key file. Alternatively, you can copy and paste the private key content to the Private Key Content text box.
- Only the private key that matches a public key can be imported for the public key.
- The private key to be uploaded or copied to the text box must be in the .pem format. If it is in the .ppk format, convert it by referring to How Do I Convert the Format of a Private Key File?.
- Select an encryption key from the KMS encryption drop-down list box.
- When you enable the encryption function for a key pair, KMS automatically creates a default key kps/default for the key pair.
- When selecting an encryption key, you can select an existing encryption key or click View Key List to create an encryption key.
- Read and select I have read and agree to the Key Pair Service Disclaimer.
- Click OK to complete the import.
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