DigitalOcean, Hetzner and Tailscale
Discover DigitalOcean Droplets, Hetzner Cloud servers and Tailscale machines and keep them in sync as hosts.
DigitalOcean, Hetzner and Tailscale
These connectors scan, import and keep servers in sync like the other cloud connectors. Imported servers log in over SSH with the account’s username and key.
DigitalOcean
Lists your Droplets.
- In the DigitalOcean control panel, go to API › Tokens and generate a token with read scope only.
- In Harbor, open Connectors › Cloud & infrastructure › DigitalOcean, and paste the token.
Hetzner Cloud
Lists the servers in one Hetzner Cloud project.
- In the Hetzner Cloud Console, open the project, then Security › API tokens, and generate a Read token.
- In Harbor, open the Hetzner Cloud connector and paste it.
- Optionally add a label selector such as
env=prodto import only matching servers.
API tokens for both are encrypted like other saved secrets and only sent to that provider.
Tailscale
Lists the machines on your tailnet, and connects to them by their MagicDNS names.
Harbor reads them with the tailscale command on this computer (or, on Windows, in WSL), so
install Tailscale and sign in first. No token is needed, and
nothing is stored in Harbor.
To log in to the machines, use normal SSH keys, or Tailscale SSH where your tailnet allows it.