Set a SPIFFE trust store as the default
Marks the specified trust store as the default for mTLS authentication. This default is used when no explicit trust store is selected for an mTLS endpoint.
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>
The unique identifier of the trust store.
Response Body
application/json
The trust store was set as the default 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
curl -X POST "https://your-domain.us.monocloud.com/api/truststores/spiffe/9qVBxPQiZqtUsBOykavK6/default" \ -H "X-API-KEY: <token>"{ "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"}