secret_list
List Kubernetes secret names, types, and key names without exposing values. Discover which secrets and keys exist in a namespace or across all namespaces for authorized workloads.
Instructions
[READ] List secrets — names, types, and key NAMES only (values redacted).
Secret VALUES are never returned. Use this to discover which secrets and keys exist, then mount/reference them via the kubeconfig-authorized workload.
Args: namespace: Namespace; omit for all namespaces. target: k8s target name from config.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "secret_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| namespace | No |