Endpoint
Authentication
Requires a Personal API Access Token.Header
Request
Headers
| Header | Value | Required |
|---|---|---|
| Authorization | Bearer {token} | Yes |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
| certificateName | string | Yes | Certificate name |
Query Parameters
None.Response
Success Response (200 OK)
The response is a ZIP file containing certificate files.Headers
Content-Type: application/octet-streamContent-Disposition: attachment; filename="{certificateName}-certificates.zip"Content-Length: {file-size}
Response Body
- Binary ZIP file containing:
{certificateName}-{environmentName}.cer- Certificate file for each environment
ZIP File Contents
- One .cer file per environment
- Files are named:
{certificateName}-{environmentName}.cer - Each file contains the certificate in binary DER format
Error Response (400 Bad Request)
cURL Example
Notes and Warnings
-
ZIP Format:
- Certificate is exported as a ZIP archive
- Contains one .cer file per environment
-
File Naming:
- Files are named:
{certificateName}-{environmentName}.cer - Example:
my-certificate-production.cer
- Files are named:
-
Certificate Format:
- Certificates are in binary DER format (.cer)
- Can be converted to PEM format if needed
-
Multiple Environments:
- ZIP contains certificates for all environments
- Each environment has its own file
Permissions
User must haveSECRETS + EXPORT_IMPORT permission in the project.
Related Documentation
- Get Certificate - Get certificate details
- Create Certificate - Create a new certificate

