feat(ci): mint staging pre-auth keys through Headscale's API #63
Loading…
Reference in a new issue
No description provided.
Delete branch "jfraeys/feat/headscale-api-preauthkey"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Run 448 passed hardening validation, then failed at step 6:
ssh: Could not resolve hostname services(the runner has no SSH route to the Headscale host).manage vpn preauthkeynow uses Headscale's REST API whenHEADSCALE_API_KEYis set (key to curl via stdin, not argv). Tested against a local mock: right Bearer header, aclTags/ephemeral/expiry body, wrong key -> 401 -> failure.Needs before staging can pass: run
scripts/provision-headscale-api-key.sh(creates the key on services, vaults it, syncs the Forgejo secret, expires old keys). API is reachable at https://vpn.jfraeys.com:8443 (the :443 hostname 404s at Traefik; not changed here). 🤖 Generated with Claude Code