Get certificate authority
Returns the certificate authority used to sign the certificates of this deployment.
GET
/deployments/{deployment_id}/certificate-authority
curl \
-X GET https://{{hostname}}/api/v1/deployments/{deployment_id}/certificate-authority
Response examples (200)
{
"recommended_trust_restriction": "string",
"public_certificates": [
{
"active": true,
"pem": "string",
"metadata": {
"fingerprint": "string",
"valid_to": "2024-05-04T09:42:00+00:00",
"valid_from": "2024-05-04T09:42:00+00:00",
"also_trusted_by": [
"string"
]
}
}
]
}
Response examples (404)
# Headers
x-cloud-error-codes: deployments.deployment_not_found
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}