ExportBody
Properties
| Property | Type | Description | |
|---|---|---|---|
format
| one of: "der", "certificate", "chain", "key", "bundle", "pkcs12" | Required | Export file format: der (certificate in DER), certificate (certificate in PEM), chain (certificate and issuing authorities in PEM, nearest first), key (private key in PEM), bundle (private key, certificate, and issuer chain in PEM), or pkcs12 (password-protected PKCS #12 archive containing all of them). Formats key, bundle, and pkcs12 require the private key to be stored in ZanPKI and export permission. |
password
| string (password), or null | Optional, write-only | Required for PKCS #12 exports: password of at least 12 characters used to encrypt the file. |
Used by
| Method | Path | Summary |
|---|---|---|
| POST | /organizations/{organizationId}/authorities/{authorityId}/exports | Export the authority as a file. |
| POST | /organizations/{organizationId}/certificates/{certificateId}/exports | Export the certificate as a file. |