Amazon Private CA · Schema

RevokeCertificateRequest

RevokeCertificateRequest schema from Amazon Private CA API

Certificate AuthorityCertificatesPKISecurityX.509TLSIoT

Properties

Name Type Description
CertificateAuthorityArn object
CertificateSerial object
RevocationReason object
View JSON Schema on GitHub

JSON Schema

amazon-private-ca-revoke-certificate-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-private-ca/refs/heads/main/json-schema/amazon-private-ca-revoke-certificate-request-schema.json",
  "title": "RevokeCertificateRequest",
  "description": "RevokeCertificateRequest schema from Amazon Private CA API",
  "type": "object",
  "properties": {
    "CertificateAuthorityArn": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Arn"
        },
        {
          "description": "<p>Amazon Resource Name (ARN) of the private CA that issued the certificate to be revoked. This must be of the form:</p> <p> <code>arn:aws:acm-pca:<i>region</i>:<i>account</i>:certificate-authority/<i>12345678-1234-1234-1234-123456789012</i> </code> </p>"
        }
      ]
    },
    "CertificateSerial": {
      "allOf": [
        {
          "$ref": "#/components/schemas/String128"
        },
        {
          "description": "<p>Serial number of the certificate to be revoked. This must be in hexadecimal format. You can retrieve the serial number by calling <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_GetCertificate.html\">GetCertificate</a> with the Amazon Resource Name (ARN) of the certificate you want and the ARN of your private CA. The <b>GetCertificate</b> action retrieves the certificate in the PEM format. You can use the following OpenSSL command to list the certificate in text format and copy the hexadecimal serial number. </p> <p> <code>openssl x509 -in <i>file_path</i> -text -noout</code> </p> <p>You can also copy the serial number from the console or use the <a href=\"https://docs.aws.amazon.com/acm/latest/APIReference/API_DescribeCertificate.html\">DescribeCertificate</a> action in the <i>Certificate Manager API Reference</i>. </p>"
        }
      ]
    },
    "RevocationReason": {
      "allOf": [
        {
          "$ref": "#/components/schemas/RevocationReason"
        },
        {
          "description": "Specifies why you revoked the certificate."
        }
      ]
    }
  },
  "required": [
    "CertificateAuthorityArn",
    "CertificateSerial",
    "RevocationReason"
  ]
}