nsc integrations tailscale set

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

nsc integrations tailscale set <name> [--enable-magic-dns] [--oauth-client-id <client-id>] [--tag <tag>] [--output <format>]

Example

$ nsc integrations tailscale set my-network --oauth-client-id k123abc456 --tag tag:server --enable-magic-dns

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.