get_credential
Retrieve all credentials or a specific credential for a consumer linked to the APISIX-MCP server by providing the username and optional credential ID.
Instructions
Get all credentials or a specific credential for a consumer
Input Schema
Name | Required | Description | Default |
---|---|---|---|
id | No | credential id | |
username | Yes | consumer username |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"id": {
"description": "credential id",
"type": "string"
},
"username": {
"description": "consumer username",
"type": "string"
}
},
"required": [
"username"
],
"type": "object"
}