All Products
Search
Document Center

DataWorks:GetCertificate

Last Updated:Jan 16, 2026

You can view authentication files.

Operation description

  1. This feature is available only in DataWorks Basic Edition and later versions.

  2. You must have at least one of the following roles in the DataWorks project: Tenant Owner, Space Administrator, Deployment, Developer, Project Owner, or O&M.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

Id

integer

Yes

The unique ID of the certificate file.

676303114031776

ProjectId

integer

No

The ID of the project to which the certificate file belongs.

1065601

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The request ID. Use this ID to locate logs and troubleshoot issues.

0000-ABCD-EFG****

Certificate

object

The details of the certificate.

Id

integer

The unique ID of the certificate file.

676303114031776

Name

string

The file name.

ca1.crt

ProjectId

integer

The ID of the project to which the certificate file belongs.

177161

Description

string

The description.

This is a file

CreateUser

string

The ID of the user who created the certificate file.

1107550004253538

CreateTime

integer

The time when the file was created. This is a UNIX timestamp in milliseconds.

1730217600000

FileSizeInBytes

integer

The file size in bytes.

77549

Examples

Success response

JSON format

{
  "RequestId": "0000-ABCD-EFG****",
  "Certificate": {
    "Id": 676303114031776,
    "Name": "ca1.crt",
    "ProjectId": 177161,
    "Description": "This is a file",
    "CreateUser": "1107550004253538",
    "CreateTime": 1730217600000,
    "FileSizeInBytes": 77549
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.