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: d4961c7d-344a-4ad9-80e8-08820007132e

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build970361017_b001_apidocs.test/host=docker-desktop' '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: Wed, 25 Aug 2021 09:03:16 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "kms-rsa-key-default",
      "uid": "d4961c7d-344a-4ad9-80e8-08820007132e",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}