LinuxWindows

Where Is the ZeroTier Identity File?

ZeroTier identity files on Linux, Windows and macOS; the secret that defines node identity.

Last updated

ZeroTier node identity lives in identity.secret (with the public half alongside) in the service data directory. Networks join against that identity.

The secret file is the crown jewel. Guard it like an SSH private key and never paste it into tickets or chats.

Where ZeroTier stores this, by platform

Linux
/var/lib/zerotier-one/identity.secret

Holds identity.secret, identity.public and network configs. Service-stopped copies only. Treat the secret as a private key.

Windows
C:\ProgramData\ZeroTier\One

Same role. Stop the ZeroTier service before migrating identity files.

Frequently asked questions

How do I migrate a ZeroTier node?

Copy identity.secret and identity.public (plus peers config) with the service stopped. The node rejoins networks as the same member. Leaking the secret lets anyone impersonate the node, so handle it like a private key.

Notice an outdated path? Let us know.