Unmap secret from service account
k8s_unmap_secret_from_service_accountRemove a secret mapping from a Kubernetes ServiceAccount by specifying the secret name, ServiceAccount name, and namespace to revoke access.
Instructions
Unmap a secret from a ServiceAccount.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"secret_name": "<secret_name>",
"sa_name": "<sa_name>",
"namespace": "<namespace>"
},
"name": "k8s_unmap_secret_from_service_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Named context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted. | |
| sa_name | Yes | ||
| namespace | Yes | ||
| secret_name | Yes |