List keys
tailscale_list_keysList Tailscale tailnet auth keys, API tokens, OAuth clients, and federated identities. Use all to see the full tailnet-wide view instead of credential-scoped keys.
Instructions
List keys in your tailnet: auth keys, API access tokens, OAuth clients and federated identities. Without 'all', what comes back depends on the credential this server runs on -- a user-owned API key sees only that user's keys (including the API access token the server itself is using, keyType 'api'); an OAuth-client token sees the tailnet's OAuth clients; a federated-identity token sees its federated identities. Set 'all' to true for the tailnet-wide list (needs the matching :read scopes; only 'all:read' and 'all' return every API access token).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | When true, list keys tailnet-wide instead of the credential-dependent default set. Default: false |