# Query SSL Certificate - DescribeUFileSSLCert

## Overview

Query all certificates for the specified bucket






## Definition

### Public Parameters

| Parameter Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **Action**     | string  | Corresponding API command name, the current API is `DescribeUFileSSLCert`.                      | **Yes** |
| **PublicKey**  | string  | The user's public key can be obtained from [Console](https://console.dezai.com/uaccount/api_manage)                                             | **Yes** |
| **Signature**  | string  | User signature generated based on public key and API command, see [Signature Algorithm](/docs/api/summary/signature.md)  | **Yes** |

### Request Parameters

| Parameter Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **BucketName** | string | Bucket name, globally unique |**Yes**|

### Response Field

| Field Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **RetCode** | int | Return status code. If it is 0, it means successful return. If it is not 0, it means failure. |**Yes**|
| **Action** | string | Operation command name. |**Yes**|
| **Message** | string | Returns an error message, providing detailed description when `RetCode` is non-zero. |No|
| **DataSet** | array[[*UFileSSLCert*](#ufilesslcert)] | Certificate List |No|

#### Data Model


#### UFileSSLCert

| Field Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **Domain** | string | Domain Name |No|
| **Certificate** | string | Content of SSL certificate corresponds to the domain name |No|
| **CertificateKey** | string | Private key corresponding to the SSL certificate |No|
| **CertificateName** | string | SSL Certificate Name |No|

## Example

### Request Example
    
```
https://api.dezai.com/?Action=DescribeUFileSSLCert
&BucketName=qggNiPKJ
&Domain=LbMuYdGF
```

### Response Example
    
```json
{
  "Action": "DescribeUFileSSLCertResponse",
  "DataSet": [
    {
      "Certificate": "AdjFfdEC",
      "CertificateKey": "QmKxyiXy",
      "Domain": "PTITmLTh"
    }
  ],
  "RetCode": 0
}
```





