Update a SPIFFE trust store
Applies a partial update to the specified SPIFFE trust store. Only fields included in the request are updated.
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.
Request Body
application/json
The request payload used to update a trust store.
TypeScript Definitions
Use the request body type in TypeScript.
Patch SPIFFE Trust Store Request: Used to update one or more properties of an existing SPIFFE trust store.
Response Body
application/json
The trust store was updated 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 PATCH "https://your-domain.us.monocloud.com/api/truststores/spiffe/9qVBxPQiZqtUsBOykavK6" \ -H "X-API-KEY: <token>" \ -H "Content-Type: application/json" \ -d '{}'{ "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"}