Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: zhengxiu <zhengxiu@huawei.com> Co-committed-by: zhengxiu <zhengxiu@huawei.com>
5.2 KiB
Downloading a Security Certificate
Function
The certificate obtained through this API can be used for HTTPS-based secure cluster connections, where encryption and user authentication occur.
Calling Method
For details, see Calling APIs.
URI
GET /v1.0/{project_id}/cer/download
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
project_id |
Yes |
String |
Definition: Project ID. For details about how to obtain the project ID and name, see Obtaining the Project ID and Name. Constraints: N/A Value range: Project ID of the account. Default value: N/A |
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
|---|---|---|
file |
String |
Definition: File stream Default value: N/A |
Example Requests
Download the security certificate.
GET https://{Endpoint}/v1.0/{project_id}/cer/download
Example Responses
Status code: 200
Request succeeded.
"Certificate:xxxx"
Status Codes
Status Code |
Description |
|---|---|
200 |
Request succeeded. |
400 |
Invalid request. Modify the request before retry. |
404 |
The requested resource could not be found. Modify the request before retry. |
Error Codes
See Error Codes.