Get Certificate
Get a single Certificate by ID.
Validates that the issuer and certificate both belong to the active tenant. Audits the access. Returns certificate metadata without password, secret_manager_ref, key_hash, or binary data.
Args: issuer_id: UUID of the parent issuer cert_id: UUID of the certificate to retrieve db: Async database session tenant_id: Active tenant ID from authentication context user_id: Current user ID for auditing
Returns: CertificateResponse: Certificate metadata (no sensitive fields)
Raises: HTTPException 404: If issuer or certificate not found or doesn’t belong to tenant
Cookies
Response
Successful Response
Schema for Certificate response (without sensitive data).
Status values for digital certificates.
uploaded, active, expiring, expired, revoked, disabled