Skip to main content
Create or update a named Tailscale integration spec. integrations tailscale set creates or updates a named Tailscale integration spec for your workspace. A spec captures the Tailscale configuration — such as the OAuth client to authenticate with, the tags to apply, and whether MagicDNS is enabled — that instances reference to join a Tailscale network. Running the command again with the same <name> updates the existing spec in place, so you can adjust its OAuth client, tags, or MagicDNS setting without recreating it.

Usage

Example

Options

—enable-magic-dns

Enable Tailscale MagicDNS for the named spec. When enabled, instances joining the network through this spec can resolve other devices on the tailnet by their MagicDNS name.

—oauth-client-id <client-id>

Tailscale OAuth client ID to attach to the named spec. This is the client nsc uses to authenticate with Tailscale when instances join the network through this spec.

—tag <tag>

Tailscale tags to add to the named spec. Can be specified multiple times or as a comma-separated list, and is used to apply Tailscale ACL tags to instances that join through this spec.

—output, -o <format>

One of plain or json. Defaults to plain.
Last modified on August 20, 2026