ves-io-schema-kms_policy-API-List

Examples of listing kms_policy

Usecase:

List kms-policy

Request using vesctl:

vesctl configuration list kms_policy --namespace documentation

vesctl yaml response:

errors: []
items:
- annotations: {}
  labels: {}
  name: kms-policy-1
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 6cbbaddb-f82a-4adc-b5a5-07fda9c90833

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_policys'

curl response

HTTP/1.1 200 OK
Content-Length: 464
Content-Type: application/json
Date: Wed, 25 Aug 2021 09:03:17 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "kms-policy-1",
      "uid": "6cbbaddb-f82a-4adc-b5a5-07fda9c90833",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}