ves-io-schema-secret_policy-API-List

Examples of listing secret_policy

Usecase:

List secret-policy

Request using vesctl:

vesctl configuration list secret_policy --namespace documentation

vesctl yaml response:

items:
- labels: {}
  name: secret-policy-1
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: deebbf5b-d505-44ce-ab5a-b5e1885af56a

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build743694289_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/secret_management/namespaces/documentation/secret_policys'

curl response

HTTP/1.1 200 OK
Content-Length: 311
Content-Type: application/json
Date: Thu, 02 Jul 2020 15:53:27 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "secret-policy-1",
      "uid": "deebbf5b-d505-44ce-ab5a-b5e1885af56a",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}