ves-io-schema-crl-API-Get

Examples of getting authentication

Usecase:

Get crl-1

Request using vesctl:

vesctl configuration get authentication crl-1 --namespace documentation

vesctl yaml response:

metadata:
  annotations: {}
  labels: {}
  name: crl-1
  namespace: documentation
referringObjects: []
resourceVersion: "329"
spec:
  httpAccess:
    path: /blob/all.crl
  refreshInterval: 6
  serverAddress: mycrlserver.com
  serverPort: 80
status: []
systemMetadata:
  creationTimestamp: "2022-01-12T14:48:11.634423300Z"
  creatorClass: examplesvc
  creatorId: examplesvc
  finalizers: []
  tenant: acmecorp
  uid: a643dd09-75ba-431c-a382-91196628b92b

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build038462651_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/documentation/crls/crl-1?response_format=0'

curl response:

HTTP/1.1 200 OK
Content-Length: 920
Content-Type: application/json
Date: Wed, 12 Jan 2022 14:48:11 GMT
Vary: Accept-Encoding

{
  "object": null,
  "create_form": null,
  "replace_form": null,
  "resource_version": "329",
  "metadata": {
    "name": "crl-1",
    "namespace": "documentation",
    "labels": {
    },
    "annotations": {
    },
    "description": "",
    "disable": false
  },
  "system_metadata": {
    "uid": "a643dd09-75ba-431c-a382-91196628b92b",
    "creation_timestamp": "2022-01-12T14:48:11.634423300Z",
    "deletion_timestamp": null,
    "modification_timestamp": null,
    "initializers": null,
    "finalizers": [
    ],
    "tenant": "acmecorp",
    "creator_class": "examplesvc",
    "creator_id": "examplesvc",
    "object_index": 0,
    "owner_view": null
  },
  "spec": {
    "server_address": "mycrlserver.com",
    "server_port": 80,
    "refresh_interval": 6,
    "verify_all_certs_with_crl": false,
    "http_access": {
      "path": "/blob/all.crl"
    }
  },
  "status": [
  ],
  "referring_objects": [
  ]
}