tailscale_key_create
Generate a new authentication key for Tailscale networks to authorize devices and control access permissions. Store the key securely as it cannot be retrieved again.
Instructions
Create a new auth key for the tailnet. Returns the key value — store it securely as it cannot be retrieved again.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reusable | No | Whether the key can be used multiple times (default: false) | |
| ephemeral | No | Whether devices using this key are removed when they disconnect (default: false) | |
| preauthorized | No | Whether devices using this key are automatically authorized (default: false) | |
| tags | No | ACL tags to apply to devices that use this key (e.g., ['tag:server']) | |
| expirySeconds | No | Key expiry in seconds from now (optional, omit for default expiry) | |
| description | No | Human-readable description for the key |