Secret Resource Service List
List Secrets.
Request
URI
GET
https://{api_host}/https://your_org.tmc.cloud.vmware.com/v1alpha1/clusters/{searchScope.clusterName}/namespaces/{searchScope.namespaceName}/secrets
COPY
Path Parameters
string
searchScope.clusterGroupName
Required
Scope search to the specified cluster_group_name; supports globbing; default (*).
Query Parameters
string
searchScope.namespaceName
Optional
Scope search to the specified namespace_name; supports globbing; default (*).
string
searchScope.name
Optional
Scope search to the specified name; supports globbing; default (*).
string
searchScope.secretType
Optional
Filter by secret type; supports globbing; default (*).
string
sortBy
Optional
Sort Order.
string
query
Optional
TQL query string.
string
pagination.offset
Optional
Offset at which to start returning records.
string
pagination.size
Optional
Number of records to return.
boolean
includeTotalCount
Optional
Include total count.
Responses
200
A successful response.
Returns vmware.tanzu.manage.v1alpha1.clustergroup.namespace.secret.ListSecretsResponse of type(s) */*
{
"secrets": [
{
"type": {
"kind": "string",
"version": "string",
"package": "string"
},
"fullName": {
"orgId": "string",
"clusterGroupName": "string",
"namespaceName": "string",
"name": "string"
},
"meta": {
"uid": "string",
"generation": "string",
"resourceVersion": "string",
"creationTime": "string",
"updateTime": "string",
"description": "string",
"parentReferences": [
{
"rid": "string",
"uid": "string"
}
]
},
"spec": {
"atomicSpec": {
"secretType": "string"
}
},
"status": {
"phase": "string",
"details": {
"availableTargets": 0,
"applied": 0,
"overridden": 0,
"pending": 0,
"error": 0,
"deleting": 0,
"skipped": 0
},
"observedGeneration": "string"
}
}
],
"totalCount": "string"
}
default
An unexpected error response.
Returns grpc.gateway.runtime.Error of type(s) */*
{
"error": "string",
"code": 0,
"message": "string",
"details": [
{
"typeUrl": "string",
"value": "string"
}
]
}
Secret Resource Service Operations
POST
Secret Resource Service Create
POST
Secret Resource Service Create
DELETE
Secret Resource Service Delete
DELETE
Secret Resource Service Delete
GET
Secret Resource Service Get
GET
Secret Resource Service Get
GET
Secret Resource Service List
GET
Secret Resource Service List
PUT
Secret Resource Service Update
PUT
Secret Resource Service Update