manage_keys
Control Tailscale authentication keys by listing, creating, or deleting them, with options to set expiry, capabilities, and device-specific configurations for secure network access.
Instructions
Manage Tailscale authentication keys
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| keyConfig | No | Key configuration (for create operation) | |
| keyId | No | Authentication key ID (for delete operation) | |
| operation | Yes | Key management operation | 
Input Schema (JSON Schema)
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "keyConfig": {
      "additionalProperties": false,
      "description": "Key configuration (for create operation)",
      "properties": {
        "capabilities": {
          "additionalProperties": false,
          "properties": {
            "devices": {
              "additionalProperties": false,
              "properties": {
                "create": {
                  "additionalProperties": false,
                  "properties": {
                    "ephemeral": {
                      "type": "boolean"
                    },
                    "preauthorized": {
                      "type": "boolean"
                    },
                    "reusable": {
                      "type": "boolean"
                    },
                    "tags": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          },
          "type": "object"
        },
        "description": {
          "type": "string"
        },
        "expirySeconds": {
          "type": "number"
        }
      },
      "type": "object"
    },
    "keyId": {
      "description": "Authentication key ID (for delete operation)",
      "type": "string"
    },
    "operation": {
      "description": "Key management operation",
      "enum": [
        "list",
        "create",
        "delete"
      ],
      "type": "string"
    }
  },
  "required": [
    "operation"
  ],
  "type": "object"
}