v1

latestOpenAPI 3.1.22026-08-0611530152.3 KB
Trust Store

Create trust store configuration

Create a new trust store configuration. This is an asynchronous operation that returns a job_id immediately. Track progress using the Jobs API.

The request body varies based on the provider field:

  • http: Fetch certificates from an HTTP/HTTPS URL
  • file: Upload certificates directly

Note: Only one operation can run at a time per resource.

post/trust-store-configuration

Request body

OR

Example request

{
  "provider": "http",
  "url": "https://trust-store.example.com/certs",
  "refresh_interval": 60,
  "cacertfile": "-----BEGIN CERTIFICATE-----\nMIIDXTCCAkWgAwIBAgIJAK...\n-----END CERTIFICATE-----"
}

Response

Configuration creation initiated

job_idstring uuid

Job ID to track the asynchronous operation

Example response

{
  "job_id": "5c2f59e8-826e-452c-b28d-27ef1f8b32a3"
}