​
Select Service
ves-io-schema-crl-API-Create
Published April 5, 2023 | Last modified September 23, 2026
Examples of creating crl
Usecase:
Create crl-config-1
Request using vesctl:
vesctl configuration create crl -i crl.yaml
where file crl.yaml has following contents (crl.CreateRequest):
RequestJSON:
{ "metadata": { "name": "crl-1", "namespace": "documentation" }, "spec": { "server_address": "mycrlserver.com", "server_port": 80, "refresh_interval": 6, "timeout": 5, "http_access": { "path": "/blob/all.crl" } }}vesctl yaml response:
ResponseJSON:
{ "metadata": { "name": "crl-1", "namespace": "documentation", "labels": {}, "annotations": {}, "description": "", "disable": false }, "system_metadata": { "uid": "bbc9cd92-c449-4ff9-9604-10655ec9319e", "creation_timestamp": "2026-06-19T22:02:50.944575Z", "deletion_timestamp": null, "modification_timestamp": null, "initializers": null, "finalizers": [], "tenant": "acmecorp", "creator_class": "examplesvc", "creator_id": "examplesvc", "object_index": 0, "owner_view": null, "labels": {} }, "spec": { "server_address": "mycrlserver.com", "server_port": 80, "refresh_interval": 6, "timeout": 5, "verify_all_certs_with_crl": false, "http_access": { "path": "/blob/all.crl" } }}Request using curl:
curl -X 'POST' -d '{"metadata":{"name":"crl-1","namespace":"documentation"},"spec":{"server_address":"mycrlserver.com","server_port":80,"refresh_interval":6,"timeout":5,"http_access":{"path":"/blob/all.crl"}}}' -H 'Content-Type: application/json' -H 'X-Volterra-Useragent: v1/pgm=_var_folders_q2_3kp8z3zs0x5_m7pk1bgb0_ph0000gp_T_go-build1655461974_b001_apidocs.test/host=MTY6VVHQPH/svc=S:examplesvc/site=mytestce01' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/documentation/crls'curl response:
HTTP/1.1 200 OKContent-Length: 815Content-Type: application/jsonDate: Fri, 19 Jun 2026 22:02:50 GMTVary: Accept-Encoding
{ "metadata": { "name": "crl-1", "namespace": "documentation", "labels": { }, "annotations": { }, "description": "", "disable": false }, "system_metadata": { "uid": "bbc9cd92-c449-4ff9-9604-10655ec9319e", "creation_timestamp": "2026-06-19T22:02:50.944575Z", "deletion_timestamp": null, "modification_timestamp": null, "initializers": null, "finalizers": [ ], "tenant": "acmecorp", "creator_class": "examplesvc", "creator_id": "examplesvc", "object_index": 0, "owner_view": null, "labels": { } }, "spec": { "server_address": "mycrlserver.com", "server_port": 80, "refresh_interval": 6, "timeout": 5, "verify_all_certs_with_crl": false, "http_access": { "path": "/blob/all.crl" } }}