Listing Application Instance Certificates
Function
This API is used to list application instance certificates. It can be called only from the organization's management account or from a delegated administrator account of a cloud service.
URI
GET /v1/instances/{instance_id}/application-instances/{application_instance_id}/certificates
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
instance_id |
Yes |
String |
Globally unique ID of an IAM Identity Center instance. |
application_instance_id |
Yes |
String |
Application instance ID. Its prefix is app-ins-. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
limit |
No |
Integer |
Maximum number of results returned for each request. |
marker |
No |
String |
Pagination marker. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Security-Token |
No |
String |
Security token (session token) of your temporary security credentials. If a temporary security credential is used, this header is required. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
application_instance_certificates |
Array of CertificateDto objects |
List of application certificates. |
page_info |
PageInfoDto object |
Pagination information. |
Parameter |
Type |
Description |
---|---|---|
algorithm |
String |
Certificate generation algorithm. |
certificate |
String |
Application certificate. |
certificate_id |
String |
Application certificate ID. |
expiry_date |
Long |
Certificate expiration time. |
status |
String |
Certificate status. |
key_size |
String |
Key size. |
issue_date |
Long |
Certificate generation time. |
Parameter |
Type |
Description |
---|---|---|
next_marker |
String |
If present, more output is available than that included in the current response. To get the next part of the output, use this value in the request parameter in a subsequent call to the same API. You should repeat calling until the next_marker parameter is null in a response. |
current_count |
Integer |
Number of items returned on this page. |
Status code: 400
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. |
error_msg |
String |
Error message. |
request_id |
String |
Unique ID of a request. |
Status code: 403
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. |
error_msg |
String |
Error message. |
request_id |
String |
Unique ID of a request. |
encoded_authorization_message |
String |
Encrypted error message. |
Example Request
Listing application instance certificates
GET https://{hostname}/v1/instances/{instance_id}/application-instances/{application_instance_id}/certificates
Example Response
Status code: 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 } }
Status Codes
Status Code |
Description |
---|---|
200 |
Successful. |
400 |
Bad request. |
403 |
Forbidden. |
Error Codes
For details, see Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot