kubernetes.secret.list
List Secrets in a namespace (keys + metadata only — values are not returned)
List Secrets in a namespace (keys + metadata only — values are not returned).
Inputs:
- connection_uuid: Cloud connection UUID (required)
- namespace: Target namespace (required)
- label_selector: Optional kubectl-style label selector
- type: Optional Secret type filter (e.g. "kubernetes.io/dockerconfigjson")
Outputs:
- items: list of
- count: int
SECURITY: data values are never returned; only key names are surfaced.
Overview
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-kubernetes |
| Version | 1.0 |
Input Schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | uuid | Yes | — | — |
namespace | string | Yes | — | — |
label_selector | string | No | — | — |
type | string | No | — | — |
organization_uuid | uuid | No | — | — |
Output Schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | uuid | No | — | — |
organization_uuid | uuid | No | — | — |
namespace | string | No | — | — |
label_selector | string | No | — | — |
type | string | No | — | — |
items | json | No | — | — |
count | integer | No | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
failed_step | string | No | — | — |
failed_layer | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
States
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram
Transitions
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | — |
* (any state) | fail | failed | — |
API Usage
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "kubernetes.secret.list",
"initial_data": {
"connection_uuid": "value",
"namespace": "value"
}
}