Please login first

How to Create a Login Key

  1. Access your Headscale server:
    For Docker:
    docker exec -it headscale headscale apikey create --expiration 8760h
    For direct installation:
    headscale apikey create --expiration 8760h
  2. Copy the generated key and use it to log in
Note: Replace headscale in the Docker command with your container name if different.
Validity Periods
  • 24h = 1 day
  • 168h = 7 days
  • 720h = 30 days
  • 8760h = 1 year
  • 87600h = 10 years
Security Note: Store your API key securely. It provides full access to your Headscale server.