ves-io-schema-kms_key-API-List

Examples of listing kms_key

Usecase:

List kms-rsa-key-default

Request using vesctl:

vesctl configuration list kms_key --namespace documentation

vesctl yaml response:

          errors: []
items:
- annotations: {}
  labels: {}
  name: kms-rsa-key-default
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: c4fa0c6c-e14b-4090-85b2-d211a810578c

        

Request using curl:

          curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_var_folders_2__8qnt6fwd5dvglr1xqq6l8b7w0000gp_T_go-build2547058132_b001_apidocs.test/host=C02FN35BMD6R/svc=S:examplesvc/site=mytestce01' 'https://acmecorp.console.ves.volterra.io/api/kms/namespaces/documentation/kms_keys'
        

curl response

          HTTP/1.1 200 OK
Content-Length: 471
Content-Type: application/json
Date: Fri, 08 Sep 2023 16:02:33 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "kms-rsa-key-default",
      "uid": "c4fa0c6c-e14b-4090-85b2-d211a810578c",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}