All Products
Search
Document Center

Certificate Management Service:ListTagResources

Last Updated:Aug 24, 2026

Retrieves the tags associated with a resource.

Operation description

This operation queries the status information of a private Certificate Authority (CA) instance that you purchased through the SSL Certificate console by using the ID of the private CA instance. For example, you can query the status of the CA instance, the number of digital certificates included, and the number of digital certificates issued.

Before you invoke this operation, you must have purchased a private CA through the Certificate Management Service console. For more information, see Purchase a private CA.

QPS limit

The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Invoke this operation appropriately.

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

RegionId

string

Yes

The region ID.

cn-hangzhou

ResourceType

string

Yes

The resource type. Default value: instance.

instance

NextToken

string

No

The pagination token for the next query. If this parameter is empty, no more results exist.

1d2db86sca4384811e0b5e8707e68181f

ResourceId

array

No

The resource ID. ResourceId and Tag cannot both be empty. At least one of ResourceId.N or (Tag.N.Key, Tag.N.Value) must be specified.

string

No

The resource ID.

cas-cn-4591d3xa****

Tag

array<object>

No

The information about instances and tags. ResourceId and Tag cannot both be empty. At least one of ResourceId.N or (Tag.N.Key, Tag.N.Value) must be specified.

object

No

The information about instances and tags.

Key

string

No

The key of the tag to query. You can specify multiple keys. N is a positive integer.

testKey1

Value

string

No

The tag value. Valid values of N: 1 to 20.

testValue1

MaxResults

integer

No

The maximum number of entries to return. Default value: 20.

20

Response elements

Element

Type

Description

Example

object

NextToken

string

The pagination token for the next query. If this parameter is empty, no more results exist.

1d2db86sca4384811e0b5e8707e68181f

RequestId

string

The request ID.

2D69A58F-345C-4FDE-88E4-BF5189484043

TagResources

object

TagResource

array<object>

The list of resource and tag relationships.

object

The list of resource and tag relationships.

TagValue

string

The tag value.

testValue2

ResourceType

string

The resource type. Default value: instance.

instance

ResourceId

string

The SSL certificate ID.

cas-cn-4591d3xa****

TagKey

string

The tag key.

testKey2

MaxResults

integer

The maximum number of entries to return. Default value: 20.

20

Examples

Success response

JSON format

{
  "NextToken": "1d2db86sca4384811e0b5e8707e68181f",
  "RequestId": "2D69A58F-345C-4FDE-88E4-BF5189484043",
  "TagResources": {
    "TagResource": [
      {
        "TagValue": "testValue2",
        "ResourceType": "instance",
        "ResourceId": "cas-cn-4591d3xa****",
        "TagKey": "testKey2"
      }
    ]
  },
  "MaxResults": 20
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.