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:

items:
- labels: {}
  name: kms-policy-1
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 4589f599-2da8-4b89-99ad-60a8cca7616f

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/kms/namespaces/documentation/kms_policys'

curl response

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

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "kms-policy-1",
      "uid": "4589f599-2da8-4b89-99ad-60a8cca7616f",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}