Get cluster namespace secret list

Get cluster namespace secret list

get

Get the list of Secrets in the specified cluster and namespace.

Path parameters
clusterIdstringRequired
namespaceNamestringRequired
Responses
200
OK
*/*
get
GET /v1/clusters/{clusterId}/namespaces/{namespaceName}/secrets HTTP/1.1
Host: 
Accept: */*
200

OK

[
  {
    "creationTimestamp": "2023-04-29 05:54:51",
    "description": "",
    "labels": {
      "app.kubernetes.io/instance": "cocktail",
      "app.kubernetes.io/managed-by": "Helm",
      "app.kubernetes.io/name": "api-cmdb"
    },
    "name": "cocktail-api-cmdb",
    "namespace": "cocktail-system",
    "type": "Generic"
  }
]

Was this helpful?