ves-io-schema-kms_policy-API-List
On This Page:
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: 9363b1f0-dc6d-4650-ab27-73838a2fa51b
Request using curl:
curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build1372770011_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: Thu, 28 Jul 2022 12:10:38 GMT
Vary: Accept-Encoding
{
"items": [
{
"tenant": "acmecorp",
"namespace": "documentation",
"name": "kms-policy-1",
"uid": "9363b1f0-dc6d-4650-ab27-73838a2fa51b",
"description": "",
"disabled": false,
"labels": {
},
"annotations": {
},
"owner_view": null,
"metadata": null,
"system_metadata": null,
"object": null,
"get_spec": null,
"status_set": [
]
}
],
"errors": [
]
}