ves-io-schema-secret_policy_rule-API-List

Examples of listing secretpolicyrule

Usecase:

List secret-policy-rule

Request using vesctl:

vesctl configuration list secret_policy_rule --namespace documentation

vesctl yaml response:

items:
- labels: {}
  name: secret-policy-rule-1
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 62ecf7c7-0a90-4bc0-a33a-70e58d636f01

Request using curl:

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

curl response

HTTP/1.1 200 OK
Content-Length: 316
Content-Type: application/json
Date: Wed, 23 Sep 2020 09:53:57 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "secret-policy-rule-1",
      "uid": "62ecf7c7-0a90-4bc0-a33a-70e58d636f01",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}