ves-io-schema-cloud_credentials-API-List

Examples of listing cloud_credentials

Usecase:

List cloud_credentials objects from system namespace

Request using vesctl:

vesctl configuration list cloud_credentials --namespace system

vesctl yaml response:

items:
- labels: {}
  name: aws-cloud-credentials1
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: 1f8bde74-1481-431c-8c11-c062c9841067
- labels: {}
  name: aws-cloud-credentials2
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: 759bd30b-07c7-43cc-ae0c-c63e2d4a483b

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/config/namespaces/system/cloud_credentialss'

curl response

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

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "system",
      "name": "aws-cloud-credentials1",
      "uid": "1f8bde74-1481-431c-8c11-c062c9841067",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    },
    {
      "tenant": "acmecorp",
      "namespace": "system",
      "name": "aws-cloud-credentials2",
      "uid": "759bd30b-07c7-43cc-ae0c-c63e2d4a483b",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}