ves-io-schema-secureshare_admin_policy-API-List

Examples of listing secureshareadminpolicy

Usecase:

List secureshare-admin-policy

Request using vesctl:

vesctl configuration list secureshare_admin_policy --namespace documentation

vesctl yaml response:

items:
- labels: {}
  name: secureshare-admin-policy-1
  namespace: documentation
  tenant: acmecorp
  uid: 8e1887c0-70d6-4919-a9bb-fd26298281a7

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/secureshare_admin_policys'

curl response

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

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "secureshare-admin-policy-1",
      "uid": "8e1887c0-70d6-4919-a9bb-fd26298281a7",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null
    }
  ]
}