stableNodeId property

String stableNodeId
final

Stable Tailscale node identifier (e.g. n1234AbCd).

Prefer this over publicKey when naming a node in durable state — the public key rotates when a node re-authenticates, the stable ID does not. This is the value accepted by exit-node handles (see ExitNode.useById).

Implementation

final String stableNodeId;