Get GitHub credential usages
get_github_credential_usagesList everything that depends on a GitHub credential: the clusters whose GitOps repository rides it (any cluster, imported or Ankra-provisioned) and the Applications built from repositories it grants. Use this before planning a credential replacement or deletion. usage_count counts clusters, application_count counts Applications, and dependent_count is the total to weigh before deleting. Dependents are matched by credential name, so when ambiguous_credential_name is true the list spans every credential sharing that name. Read-only.
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": {
"credential_id": "<credential_id>"
},
"name": "get_github_credential_usages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| credential_id | Yes | UUID of the GitHub credential. |