Retrieve a Certificate
get
/ic/api/integration/v1/certificates/{id}
Retrieves detailed information about the certificate with the specified ID.
Request
Path Parameters
-
id(required): string
Certificate composite identifier. The ID consists of the installedType, type, category and the name separated by the | (vertical line) character. Format: installedType%7Ctype%7Ccategory%7Cname. Example: USER%7CPGP%7CPUBLIC%7CTESTPGPPUBLICCERT. When using cURL, substitute the %7C code for the vertical line.
Query Parameters
-
integrationInstance(required): string
This is the name of the service instance. You can get this value from the About page where it is specified in the Service instance field.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json; charset=utf-8, application/vnd.oracle.resource+json;type=singular
200 Response
Successful operation
Nested Schema : CertificateRs-allOf[2]
Type:
Show Source
object
-
asciiArmored: boolean
ASCII-Armor encryption flag. Valid only for type - PGP and category - PUBLIC
-
cipherAlgorithm: string
Cipher algorithm. Valid only for type - PGP and category - PUBLIC
-
content: array
content
-
created: string
(date-time)
Certificate created date
-
createdBy: string
Certificate created by
-
description: string
Certificate description
-
expires: string
(date-time)
Certificate expiry date
-
hash: string
-
installedType: string
Certificate installed by. Ex - USER
-
issued: string
(date-time)
Certificate issued date
-
keyPasswords: string
Key password(s). Valid only for type - X509 and category - IDENTITY
-
keystore: string
Keystore
-
keyStoreDescription: string
Keystore description
-
keystorePassword: string
Keystore password. Valid only for type - X509 and category - IDENTITY
-
lastUpdated: string
(date-time)
Certificate updated date
-
lastUpdatedBy: string
Certificate updated by
-
metaData: object
metaData
Additional Properties Allowed: additionalProperties
-
name: string
Certificate alias name
-
passPhrase: string
Private key password. Valid only for type - PGP & SIGNKEY and category - PRIVATE
-
secretOCID: string
-
status: string
Certificate status. Ex. - CONFIGURED or INPROGRESS
-
type: string
Certificate type. Valid values - DIGITALSIGNATURE, PGP, SAML, SIGNKEY & X509
-
typeDescription: string
Certificate type description
404 Response
Certificate not found
500 Response
Server error
Examples
The following example shows how to get details of a certificate by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL. For more information about endpoint URL structure, see Send Requests.
Example: Get details about PGP Public certificate TESTPGPPUBLICCERT
The id is in the form: installedType%7Ctype%7Ccategory%7Cname. The %7C is the encoded | (vertical line).
curl -X GET -H 'Authorization: Bearer access_token' -H "Accept:application/json" https://design.integration.region.ocp.oraclecloud.com/ic/api/integration/v1/certificates/USER%7CPGP%7CPUBLIC%7CTESTPGPPUBLICCERT?integrationInstance=service-instance