ves-io-schema-authentication-API-List

Examples of listing authentication

Usecase:

List apigw_config

Request using vesctl:

vesctl configuration list authentication --namespace documentation

vesctl yaml response:

items:
- annotations: {}
  labels: {}
  name: apigw-1
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 37ef0639-d4de-4ce1-b909-6af9d8da3b03

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build231703991_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/documentation/authentications'

curl response

HTTP/1.1 200 OK
Content-Length: 440
Content-Type: application/json
Date: Wed, 20 Jan 2021 19:16:25 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "apigw-1",
      "uid": "37ef0639-d4de-4ce1-b909-6af9d8da3b03",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}