列出应用程序实例证书 - ListApplicationInstanceCertificates
功能介绍
查询应用程序实例证书列表。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。
授权信息
账号根用户具备所有API的调用权限,如果使用账号下的IAM用户调用当前API,该IAM用户需具备如下身份策略权限,更多的权限说明请参见权限和授权项。
授权项 | 访问级别 | 资源类型(*为必须) | 条件键 | 别名 | 依赖的授权项 |
|---|---|---|---|---|---|
IdentityCenter:application:listApplicationInstanceCertificates | List | - | - | - | organizations:delegatedAdministrators:list |
URI
GET /v1/instances/{instance_id}/application-instances/{application_instance_id}/certificates
参数 | 是否必选 | 参数类型 | 描述 |
|---|---|---|---|
instance_id | 是 | String | IAM Identity Center实例的全局唯一标识符(ID) |
application_instance_id | 是 | String | 应用程序实例ID,以app-ins-为前缀 |
参数 | 是否必选 | 参数类型 | 描述 |
|---|---|---|---|
limit | 否 | Integer | 每个请求返回的最大结果数。 |
marker | 否 | String | 分页标记 |
请求参数
参数 | 是否必选 | 参数类型 | 描述 |
|---|---|---|---|
X-Security-Token | 否 | String | 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。 |
响应参数
状态码:200
参数 | 参数类型 | 描述 |
|---|---|---|
application_instance_certificates | Array of CertificateDto objects | 应用程序证书列表 |
page_info | PageInfoDto object | 分页信息 |
参数 | 参数类型 | 描述 |
|---|---|---|
algorithm | String | 证书生成算法 |
certificate | String | 应用程序证书 |
certificate_id | String | 应用程序证书Id |
expiry_date | Long | 证书过期时间 |
status | String | 证书状态 |
key_size | String | 密钥大小 |
issue_date | Long | 证书生成时间 |
参数 | 参数类型 | 描述 |
|---|---|---|
next_marker | String | 如果存在,则表示可用的输出比当前响应中包含的输出多。在对操作的后续调用中,在标签请求参数中使用此值,以获取输出的下一部分。您应该重复此操作,直到next_marker响应元素返回为null |
current_count | Integer | 本页返回条目数量 |
状态码:400
参数 | 参数类型 | 描述 |
|---|---|---|
error_code | String | 错误码 |
error_msg | String | 错误信息 |
request_id | String | 请求唯一标识 |
状态码:403
参数 | 参数类型 | 描述 |
|---|---|---|
error_code | String | 错误码 |
error_msg | String | 错误信息 |
request_id | String | 请求唯一标识 |
encoded_authorization_message | String | 加密的错误信息 |
请求示例
查询应用程序实例证书列表
GET https://{hostname}/v1/instances/{instance_id}/application-instances/{application_instance_id}/certificates 响应示例
状态码:200
Successful
{
"application_instance_certificates" : [ {
"algorithm" : "SHA256withRSA",
"certificate" : "certificate text",
"certificate_id" : "cer-5c81c5ce-c16c-4a5d-8e55-f491f2239f1a",
"expiry_date" : 1767916800000,
"status" : "ACTIVE",
"key_size" : "3072",
"issue_date" : 1752048619976
}, {
"algorithm" : "SHA256withRSA",
"certificate" : "certificate text",
"certificate_id" : "cer-a96ccdb1-5556-4454-a6ed-1415774d6693",
"expiry_date" : 1769558400000,
"status" : "INACTIVE",
"key_size" : "3072",
"issue_date" : 1753706674547
} ],
"page_info" : {
"next_marker" : null,
"current_count" : 2
}
} 状态码
状态码 | 描述 |
|---|---|
200 | Successful |
400 | Bad request |
403 | Forbidden |
错误码
请参见错误码。

