Skip to content

Commit 6fd8469

Browse files
committed
fix(tailscale): list_auth_keys now returns all tailnet keys
GET /tailnet/{tailnet}/keys silently scopes to the caller's own keys unless all=true is passed, contradicting the tool's stated purpose of listing all auth keys in the tailnet.
1 parent fdf867f commit 6fd8469

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/sim/tools/tailscale/list_auth_keys.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export const tailscaleListAuthKeysTool: ToolConfig<
4848

4949
request: {
5050
url: (params) =>
51-
`https://api.tailscale.com/api/v2/tailnet/${encodeURIComponent(params.tailnet.trim())}/keys`,
51+
`https://api.tailscale.com/api/v2/tailnet/${encodeURIComponent(params.tailnet.trim())}/keys?all=true`,
5252
method: 'GET',
5353
headers: (params) => ({
5454
Authorization: `Bearer ${params.apiKey.trim()}`,

0 commit comments

Comments
 (0)