ves-io-schema-tpm_api_key-API-List

Examples of listing tpmapikey

Usecase:

List tpm apikey

Request using vesctl:

vesctl configuration list tpm_api_key --namespace documentation

vesctl yaml response:

items:
- labels: {}
  name: apikey1
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 3de92250-3770-47d2-8d15-626a4a5043b4

Request using curl:

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

curl response

HTTP/1.1 200 OK
Content-Length: 303
Content-Type: application/json
Date: Fri, 31 Jul 2020 12:54:48 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "apikey1",
      "uid": "3de92250-3770-47d2-8d15-626a4a5043b4",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}