Create a SPIFFE trust store

View as Markdown
POST
/truststores/spiffe

Creates a new SPIFFE trust store for a federated SPIFFE trust domain and its workload identities.

Authorization

API-Key
headerX-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 SPIFFE Trust Store Request: Creates a trust store for a federated SPIFFE trust domain and its workload identities.

Response Body

201

application/json

The trust store was created successfully

TypeScript Definitions

Use the response body type in TypeScript.

SPIFFE Trust Store Response: Represents a federated SPIFFE trust domain used to validate workload identities.

Errors

401Unauthorized

403Forbidden

curl -X POST "https://your-domain.us.monocloud.com/api/truststores/spiffe" \  -H "X-API-KEY: <token>" \  -H "Content-Type: application/json" \  -d '{    "options": {},    "spiffe_bundle_endpoint": "http://example.com"  }'
{  "id": "string",  "name": "string",  "enabled": true,  "is_default": true,  "show_in_discovery_document": true,  "options": {    "validate_certificate_use": true,    "validate_validity_period": true,    "certificate_auth_cache_duration": 0,    "bundle_fetch_timeout": 0  },  "creation_time": 0,  "last_updated": 0,  "spiffe_bundle_endpoint": "string"}
© 2026 MonoCloud. All rights reserved.