If you upload a local Certificate Signing Request (CSR) without its private key, you can call this operation to upload or update the private key.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cert:UpdateCsr |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CsrId |
integer |
Yes |
The unique ID of the CSR. This ID is generated when you upload a CSR. To obtain the ID, call the ListCsr operation. |
5209 |
| Key |
string |
Yes |
The content of the certificate private key in PEM format. |
-----BEGIN RSA PRIVATE KEY----- MII.... -----END RSA PRIVATE KEY----- |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The object. |
||
| RequestId |
string |
The unique ID of the request. Alibaba Cloud generates this ID for each request. Use this ID to troubleshoot issues. |
082FAB35-6AB9-4FD5-8750-D36673548E76 |
Examples
Success response
JSON format
{
"RequestId": "082FAB35-6AB9-4FD5-8750-D36673548E76"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.