ApiProxy

Create or update a Certificate from a raw certificate file

Changed on

Uploads certificate material as a file and writes it to the environments you name. A single PEM/DER file goes to every environment in environmentList; the ZIP produced by the export endpoint restores each environment from its own entry. Unlike create/update, an environment that already carries this certificate is REPLACED rather than duplicated, and an environment this upload does not name keeps what it had.

post/apiops/projects/{projectName}/certificates/import-file/

Request

Path parameters

projectNamestring required

Query parameters

certificateNamestring required
aliasstring required
environmentListstring

comma seperated environment name values. REQUIRED when a single file is uploaded; when a ZIP is uploaded the environments are read from the package and this field is ignored.

certificateDescriptionstring

Request body multipart/form-data

certificateFilestring binary required

Raw certificate file (PEM/DER), or the ZIP produced by the export endpoint

environmentMappingstring

Optional JSON: environment name in the package -> environment name in this installation. An empty value means that environment is deliberately not transferred. Only meaningful when a ZIP is uploaded.

Response

successful operation!

status'SUCCESS' | 'FAILURE'
resultMessagestring
resultListstring[]
resultCountinteger
unresolvedReferencesstring[]

Changes