Create auth key
tailscale_create_auth_keyCreate a new auth key for the tailnet (used to register new devices). Tailscale REST: POST /tailnet/{tailnet}/keys.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ACL tags to apply to devices created with this key, e.g. ["tag:ci"]. | |
| reusable | No | If true, the key can register multiple devices. | |
| ephemeral | No | If true, devices registered with this key are ephemeral (removed shortly after going offline). | |
| description | No | A short description for the key. | |
| expirySeconds | No | Key lifetime in seconds; 0 means no expiry (if allowed by tailnet policy). | |
| preauthorized | No | If true, devices registered with this key are pre-authorized (skip device approval). |