List the names of the secrets in Key Vault (values not included).
AI agents call keyvault_list_secrets to retrieve information from Mcp Azure Toolkit without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
This tool performs a read-only query of Azure Key Vault metadata (secret names only, not values). While it does not modify, execute, or destroy data, listing secret names from Key Vault has moderate security risk because secret names often encode their purpose (e.g., 'db-password-prod', 'api-key-payment-service') and can guide an attacker toward high-value secrets or reveal the application's dependencies.
From the tool's definition Tool description states it 'List the names of the secrets in Key Vault (values not included)' — a retrieval operation with no modification. However, listing secret names can reveal sensitive infrastructure details and enable targeted attacks.
Attacks that exploit this kind of access
List the names of the secrets in Key Vault (values not included). It is categorised as a Read tool in the Mcp Azure Toolkit MCP Server, which means it retrieves data without modifying state.
Register the Mcp Azure Toolkit MCP server in PolicyLayer and add a rule for keyvault_list_secrets: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Mcp Azure Toolkit. Nothing to install.
keyvault_list_secrets is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the keyvault_list_secrets rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for keyvault_list_secrets. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
keyvault_list_secrets is provided by the Mcp Azure Toolkit MCP server (temidireadesiji/mcp-azure-toolkit). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →