Upsert a CA Certificate
Changed onCreate or Update CA Certificate using ID.
Request
- Base URLhttp://localhost:8001
- AuthAPI key in header Kong-Admin-Token
Path parameters
ID of the CA Certificate to lookup
Request body
A CA certificate object represents a trusted CA. These objects are used by Kong to verify the validity of a client or server certificate.
PEM-encoded public certificate of the CA.
SHA256 hex digest of the public certificate. This field is read-only and it cannot be set by the caller, the value is automatically computed.
Unix epoch when the resource was created.
A string representing a UUID (universally unique identifier).
An optional set of strings associated with the Certificate for grouping and filtering.
Unix epoch when the resource was last updated.
Example request
{
"cert": "-----BEGIN CERTIFICATE-----\ncertificate-content\n-----END CERTIFICATE-----",
"cert_digest": "9b8aaf19a276885f6c8a6bc48a30700fdb3a351d8b05374d153bfb7b178e2a9f",
"created_at": 1706598432,
"id": "b2f34145-0343-41a4-9602-4c69dec2f260",
"tags": [
"trusted",
"api"
]
}Response
Successfully upserted CA Certificate
A CA certificate object represents a trusted CA. These objects are used by Kong to verify the validity of a client or server certificate.
PEM-encoded public certificate of the CA.
SHA256 hex digest of the public certificate. This field is read-only and it cannot be set by the caller, the value is automatically computed.
Unix epoch when the resource was created.
A string representing a UUID (universally unique identifier).
An optional set of strings associated with the Certificate for grouping and filtering.
Unix epoch when the resource was last updated.
Example response
{
"cert": "-----BEGIN CERTIFICATE-----\ncertificate-content\n-----END CERTIFICATE-----",
"cert_digest": "9b8aaf19a276885f6c8a6bc48a30700fdb3a351d8b05374d153bfb7b178e2a9f",
"created_at": 1706598432,
"id": "b2f34145-0343-41a4-9602-4c69dec2f260",
"tags": [
"trusted",
"api"
]
}Changes
- breaking
the response property
tagsbecame nullable for the status - info
the request property
tagsbecame nullable
- breaking
- breaking
the response property
created_atbecame nullable for the status
7 more changes in this revision
- breaking