When creating a VPS on Hetzner, it lets you by default to configure the key auth only.
From memory this is the case on DO as well