Downloading the ECDSA Public and Private Keys
Function
If a source server runs a Linux OS, the migration Agent installed on the source server communicates with the target ECS through SSH. This API is used to return a group of Elliptic Curve Digital Signature Algorithm (ECDSA) public and private keys, which are used as the SSH private key of the destination servers.
This API is automatically called by the migration Agent to download ECDSA public and private keys. You do not need to make calls to this API.
URI
Constraints
N/A
Extension Description
N/A
Request Parameters
None
Response Parameters
Parameter |
Type |
Description |
---|---|---|
private_key |
String |
Specifies the ECDSA private key in PEM format. |
public_key |
String |
Specifies the ECDSA public key in PEM format. |
Request Example
None
Response Example
{ "private_key ":"-----BEGIN EC PRIVATE KEY----- MHcCAQEEIM65a2NCcZg6el7wELMEZQTTpOGm6AeO0FVNQKcrIq6GoAoGCCqGSM49 AwEHoUQDQgAEJL+BljWgKJodqjJmeqYwiQ7YRIdnBtfckSIUykoGRUJc4VuFMJzv jPCoirT49vDFCDheKbicZSZNpXb2riGU2g== -----END EC PRIVATE KEY-----", "public_key":":"-----BEGIN PUBLIC KEY----- MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEJL+BljWgKJodqjJmeqYwiQ7YRIdn BtfckSIUykoGRUJc4VuFMJzvjPCoirT49vDFCDheKbicZSZNpXb2riGU2g== -----END PUBLIC KEY-----" }
Status Codes
See Status Codes.
Error Codes
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