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:

items:
- annotations: {}
  labels: {}
  name: kms-rsa-key-default
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 3b197e5a-174d-4363-8d3c-58db92ccacd1

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build817539475_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: 452
Content-Type: application/json
Date: Mon, 22 Feb 2021 15:44:07 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "kms-rsa-key-default",
      "uid": "3b197e5a-174d-4363-8d3c-58db92ccacd1",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}