Create a PKI trust store
Creates a new PKI trust store used to manage trusted certificate authorities and certificate validation settings for mTLS authentication.
API-KeyX-API-KEY<token>MonoCloud APIs require authentication with an API key. Retrieve your key from the Tenant Settings section of the MonoCloud dashboard and include it in the request header as: X-API-Key: <your_api_key>
Request Body
application/json
The request payload used to create a trust store.
TypeScript Definitions
Use the request body type in TypeScript.
Create PKI Trust Store Request: Creates a trust store used to manage trusted certificate authorities for mTLS authentication.
Response Body
application/json
The trust store was created successfully
TypeScript Definitions
Use the response body type in TypeScript.
PKI Trust Store Response: Represents a trust store configuration used for mTLS authentication.
Errors
curl -X POST "https://your-domain.us.monocloud.com/api/truststores/pki" \ -H "X-API-KEY: <token>" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "options": {}, "cert_chain": "string" }'{ "id": "string", "name": "string", "enabled": true, "is_default": true, "show_in_discovery_document": true, "options": { "validate_certificate_use": true, "validate_validity_period": true, "revocation_mode": "offline", "revocation_check_depth": "end_certificate_only", "revocation_check_clock_skew": 0, "ocsp_check_timeout": 0, "online_crl_check_timeout": 0, "certificate_auth_cache_duration": 0, "ocsp_cache_duration": 0, "online_crl_cache_duration": 0 }, "creation_time": 0, "last_updated": 0, "cert_chain": "string"}