All Products
Search
Document Center

Certificate Management Service:Sign

Last Updated:Jan 06, 2026

This operation signs private certificate authority (PCA) certificates in a certificate repository.

Operation description

This operation signs private certificate authority (PCA) certificates in a certificate repository.

QPS limit

This operation supports up to 1,000 queries per second (QPS) for a single user. If you exceed this limit, API calls are throttled, which can affect your business. Plan your API calls accordingly.

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

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

yundun-cert:Sign

none

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

Message

string

Yes

The data to sign. The format of the data is specified by the `MessageType` parameter. When `MessageType` is `RAW`, `Message` is the raw data string. When `MessageType` is `BASE64`, `Message` is the Base64-encoded raw data. When `MessageType` is `DIGEST`, `Message` is the digest of the data, and the digest is signed.

MTIzNA==

CertIdentifier

string

No

The unique identifier of the certificate. To get this value, call the ListCert operation.

  • The identifier of an SSL certificate is typically in the format `{Certificate ID}-cn-hangzhou`.

  • For a private certificate authority (PCA) certificate, this is the value of the `Identifier` field of the private certificate.

1ef1da5f-38ed-69b3-****-037781890265

SigningAlgorithm

string

Yes

The signature algorithm. Valid values:

  • SHA256withRSA

  • SHA256withRSA/PSS

  • SHA256withECDSA

  • SM3withSM2

  • SHA256withRSA/P7

SHA256withRSA

MessageType

string

Yes

The message type. Valid values:

  • RAW (default): The raw data.

  • DIGEST: The message digest, or hash value, of the raw data.

  • BASE64: The Base64-encoded raw data.

RAW

CustomIdentifier

string

No

The custom identifier. This is a unique key.

***e6bb538d538c70c01f81fg3****

WarehouseId

integer

No

The ID of the certificate repository.

Note

To get this ID, call the ListCertWarehouse operation.

1

Response elements

Element

Type

Description

Example

object

Signature

string

The signature.

eyaC0w3ROK5b3QcHmUtAhMY/sQjKu2t3uBfnf6J/gn7JfZtyxwcCUjzXbw5jmqJQRbj1te670Bshg9kUdanKhtHFhJjU5jX+ZMMBr6pH0gqQDJxR0K0yHXRc0Q5OQoUZ6BfpbI4Wt4jJvJSdCstz1vSg12CfEHS8Kd5qfhItK7Y=

RequestId

string

The request ID.

1ed33293-2e48-6b14-861e-538e28e408eb

Examples

Success response

JSON format

{
  "Signature": "eyaC0w3ROK5b3QcHmUtAhMY/sQjKu2t3uBfnf6J/gn7JfZtyxwcCUjzXbw5jmqJQRbj1te670Bshg9kUdanKhtHFhJjU5jX+ZMMBr6pH0gqQDJxR0K0yHXRc0Q5OQoUZ6BfpbI4Wt4jJvJSdCstz1vSg12CfEHS8Kd5qfhItK7Y=",
  "RequestId": "1ed33293-2e48-6b14-861e-538e28e408eb"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.